[jboss-user] [jBPM] - JSF set task variables

Rafael Oliveira do-not-reply at jboss.com
Wed Sep 15 13:10:05 EDT 2010

Rafael Oliveira [http://community.jboss.org/people/rafael.oliveira] created the discussion

"JSF set task variables"

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

Hello everyone,

I'm getting when setting task variable from jsf, I tried use this #{task.variables['approve']}, but it doesn't work:
This is my code.
In this case, i want send to mey process the information that type in inputText txapprove, but when I get the variable value, it return null.

     <h:dataTable id="items" value="#" var="task" rendered="#{not empty taskInstancePriorityList}">
               <f:facet name="header">
                    <h:outputText value="Description" />
               <h:inputText id="description" value="#{task.description}" style="width: 400" />
               <f:facet name="header">
                    <h:outputText value="Approve" />
               <h:inputText id="txapprove" value="#{task.variables['approve']}" style="width: 100" />
               <s:button id="doApprove" action="#{productBean.approve}" taskInstance="#error.notfound.task" value="Send" />

Thank you for any help.


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100915/301f5a9d/attachment.html 

More information about the jboss-user mailing list