[jboss-user] [jBPM] - Defining a list in a task form, but How?

Alejandro Guizar do-not-reply at jboss.com
Wed May 19 05:27:01 EDT 2010


Alejandro Guizar [http://community.jboss.org/people/alex.guizar%40jboss.com] replied to the discussion

"Defining a list in a task form, but How?"

To view the discussion, visit: http://community.jboss.org/message/543786#543786

--------------------------------------------------------------
This is not really a jBPM question as the engine is able to persist and return a list of strings as variable value. Anyhow, if you are using JSF, you could take a look at what the web console does.

In particular, the web console comes has two supporting tag libraries, gravel and jbpm4jsf. These tag libraries provide a number of tags which you might find useful.

<html xmlns:h="http://java.sun.com/jsf/html"
  xmlns:gd="http://gravel.jboss.org/jsf/1.0/data"
  xmlns:j4j="http://jbpm.org/jbpm4jsf/core">
  ...
  <j4j:loadProcessInstance id="#{id}" target="#{pi}"/>
  <j4j:getVariableMap target="#{vars}" value="#{pi}"/>
  <gd:repeat value="#{vars['applicants']}" var="applicant">
    <h:outputText value="#{applicant}"/>
  </gd:repeat>
</html>


Both the  https://repository.jboss.org/nexus/content/repositories/releases/org/jbpm/jbpm3/jsf-console-jbpm4jsf/3.2.9/jsf-console-jbpm4jsf-3.2.9.jar jbpm4jsf and  https://repository.jboss.org/nexus/content/repositories/releases/org/jboss/gravel/gravel/1.0.0.GA/gravel-1.0.0.GA.jar gravel jars are available from the jboss maven repository.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/543786#543786]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100519/7333e97f/attachment-0001.html 


More information about the jboss-user mailing list