[jboss-user] [JBoss Seam] - Re: Acess Task variables and show them with task list
gavin.king@jboss.com
do-not-reply at jboss.com
Tue Dec 12 14:34:34 EST 2006
An example in the DVD demo:
<h:dataTable value="#{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>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993161#3993161
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993161
More information about the jboss-user
mailing list