[jboss-user] [JBoss Seam] - Re: Seam 2, pages.xml and pageflow

rlhr do-not-reply at jboss.com
Fri Jul 27 10:35:31 EDT 2007


So I finally fixed my problem. I had to use:


  | <page view-id="/flow/itemSelection.xhtml">
  |         <navigation evaluate="#{flow.itemSelectionOutcome}">
  |             <rule if-outcome="listA">
  |                 <redirect view-id="/flow/A/itemSelection.xhtml"/>
  |             </rule>
  |             <rule if-outcome="listB">
  |                 <redirect view-id="/flow/B/itemSelection.xhtml"/>
  |             </rule>
  |         </navigation>
  | </page>
  | 

I guess there are quite few changes to make to go from Seam 1.2 to 2.0 but I must say that the navigation model then becomes much cleaner :)


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

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



More information about the jboss-user mailing list