[jboss-user] [JBoss jBPM] - jBPM Tasks Question
mboldisc
do-not-reply at jboss.com
Tue May 1 10:01:50 EDT 2007
Hello,
I am trying to figure out how the DVD Store example sets and retrieves variables from tasks.
The file web/admin/admin.xhtml:
| <h:dataTable rendered="#{not empty pooledTaskInstanceList}"
| var="task"
| styleClass="dvdtable"
| headerClass="dvdtablehead"
| rowClasses="dvdtableodd,dvdtableeven"
| columnClasses="dvdtablecol">
| <h:column>
| <f:facet name="header">Order Id</f:facet>
| #{task.variables['orderId']}
| </h:column>
| <h:column>
| <f:facet name="header">Task</f:facet>
| <h:outputText value="#{task.description}" />
| </h:column>
| <h:column>
| <f:facet name="header">Order Amount</f:facet>
| <h:outputText value="#{task.variables['amount']}">
| <f:convertNumber type="currency" currencySymbol="$" />
| </h:outputText>
| </h:column>
| <h:column>
| <f:facet name="header">Customer</f:facet>
| <h:outputText value="#{task.variables['customer']}" />
| </h:column>
| <h:column>
| <s:button action="#{pooledTask.assignToCurrentActor}" taskInstance="#{task}"
| value="Assign"/>
| </h:column>
| </h:dataTable>
|
How does task.variables['customer'] get set originally?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042088#4042088
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042088
More information about the jboss-user
mailing list