7 Replies Latest reply on Jul 10, 2007 5:52 PM by Pete Muir

    fail to send parameter to a function in xhtml

    li jun Newbie

      I can assign the task to an actor by using pooledTask.assignToCurrentActor.

      <h:column>
      <s:button action="#{pooledTask.assignToCurrentActor}" taskInstance="#{task}" value="Assign">
      </s:button>
      </h:column>


      However, i fail to use 'pooledTask.assign', evenif i've set the parameter to it like this:
      <h:column>
       <s:button action="#{pooledTask.assign}" taskInstance="#{task}" value="Assign">
       <f:param name="actorId" value="c" />
       </s:button>
       </h:column>


      Can you help me?
      Thank you very much.