[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}">
          <h:column>
               <f:facet name="header">
                    <h:outputText value="Description" />
               </f:facet>
               <h:inputText id="description" value="#{task.description}" style="width: 400" />
          </h:column>
          <h:column>
               <f:facet name="header">
                    <h:outputText value="Approve" />
               </f:facet>
               <h:inputText id="txapprove" value="#{task.variables['approve']}" style="width: 100" />
          </h:column>
          <h:column>
               <s:button id="doApprove" action="#{productBean.approve}" taskInstance="#error.notfound.task" value="Send" />
          </h:column>
     </h:dataTable>
</form>




Thank you for any help.

Rafael
--------------------------------------------------------------

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

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/20100915/301f5a9d/attachment.html 


More information about the jboss-user mailing list