1 Reply Latest reply on Mar 27, 2009 4:50 PM by Norman Richards

    Seam + JBPM: Accessing variables via <h:inputText>

    Julian Stark Newbie

      I'm new to Seam and JBPM and I have a beginner's question about accessing process variables:

      When I change e.g. the value of the task.name:
      <h:inputText value="#{task.name}" style="width: 300" />

      and I klick my update-button:
      <h:commandButton value="Update Items" action="update"/>

      everthing works fine and the new name is saved.

      But when I try the same thing with a Variable:

      <h:inputText value="#{task.variables['testVar']}" />

      ...that was earlier outjected to the process, no changes are saved. That means, the <inputText.../> shows the outjected value, but it can't change the value.

      How can I do this?

      Thank You!