6 Replies Latest reply on Aug 22, 2007 8:30 AM by Mohammed Ettaib

    radio control

    Mohammed Ettaib Newbie

      Hello, I'm using jbpm , and I need your help about the radio control

      Well I've added 2 radio buttons in a page

      <h:selectOneRadio name="Priority" value="Priority" style="font-weight: bold" >
       <f:selectItem itemLabel="Normal" itemValue="Normal" />
       <f:selectItem itemLabel="High" itemValue="High" />
       </h:selectOneRadio-->

      and I want in function of the selected Item go to a certain task node, for this I've used a Decision with the condition on the item selected on the selectOneRadio, the problem is that I don't know what's the variable that I should use in the condition tag, I've wrote it in "****"
      <decision name="Decision1">
      
       <transition name="Normal" to="node4">
       <condition>#{"****" == 'Normal'}</condition>
       </transition>
      
       <transition name="High" to="customer notification">
       <condition>#{"****" == 'High'}</condition>
       </transition>
      
       </decision>
      


      If any one can help I will be grateful.

      Thank You