[jboss-user] [JBoss jBPM] - radio control

orochimaru19860000 do-not-reply at jboss.com
Thu Aug 16 12:20:52 EDT 2007


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074909#4074909

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074909



More information about the jboss-user mailing list