For posterity:

Problem Statement

Next page to goto at end of wizard (using a pageflow) is determined by 
user-selected selectItem.

Implementation

Use a decision node to select an ad-hoc (JSF) outcome, decision based on value 
of selectItem

Flaw in implementation

Transitions from decision nodes cannot specify ad-hoc outcomes as targets (as 
they are embedded deep in jbpm)

Solution

If you directly specify an action method on the wizard page rather than a 
transition name, and return from this a String, the string will determine the 
transition used

AND

Transitions from page nodes can specify ad-hoc outcomes.

Not as neat as using a decision node (not as clear what is going on from the 
jpdl).

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

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


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to