Ok, I'll try to explain better ;)

I want to do pageflow -> decision -> JSF outcome (dependent on user selected 
option from list).

You can get around it by entering each possible outcome from the decison as a 
page:


  | 
  | <decision name="nextTask" expression="#{addVenueNextTask}">
  |       <transition name="option1" to="option1"></transition>
  |      <transition name="option2" to="option2"></transition>
  |      <transition name="option3" to="option3"></transition>
  | </decision>
  | 
  | <page name="option1" view-id="/option1.jsf">
  |        <redirect/>
  |        <end-conversation/>
  | </page>
  | <page name="option2" view-id="/option2.jsf">
  |        <redirect/>
  |        <end-conversation/>
  | </page>
  | <page name="option3" view-id="/option3.jsf">
  |        <redirect/>
  |        <end-conversation/>
  | </page>
  | 

But thats pretty ugly and requires you to remember to update each pageflow when 
changing a outcome/viewid mapping.

My problem is that jPDL transitions don't accept JSF outcomes as valid 'to' 
targets (AFAICT) - I think its a feature that should be added to Seam.  I'm 
going to work on it next and then I'll see if Gavin will accept it ;)

Unless you've somehow managed to move the 'decison' about where to go next to 
your challenge.jsf page?

Let me know if I'm not clear here!

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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to