[jboss-user] [JBoss Seam] - Re: Pageflow: Illegal Navigation Error

skanky78 do-not-reply at jboss.com
Thu Nov 22 12:47:05 EST 2007


first of all, thank you for your reply! :)

i have several entry-points (link to the same wizard from different pages) from where the wizard is called. how could i map this in jpdl?


  | <?xml version="1.0"?>
  | 
  | <pageflow-definition
  | 	xmlns="http://jboss.com/products/seam/pageflow"
  | 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |     xsi:schemaLocation=
  | 	    "http://jboss.com/products/seam/pageflow http://jboss.com/products/seam/pageflow-2.0.xsd"
  |  	name="createShop">
  |  	
  |     <start-page name="step1" view-id="/pages/shop/step1.xhtml" >
  |     	<redirect/>
  |         <transition name="next"   to="step2"/>
  |         <transition name="cancel"   to="cancel"/>
  |    	</start-page>
  |        
  |     <page name="step2" view-id="/pages/shop/step2.xhtml">
  |         <redirect/>
  |         <transition name="next"   to="step3"/> 
  |         <transition name="cancel" to="cancel" />
  |     </page>
  |     
  | 	<page name="step3" view-id="/pages/shop/step3.xhtml">
  |         <redirect/>
  |         <transition name="next"   to="step4"/> 
  |         <transition name="cancel" to="cancel" />
  |     </page>
  |     
  | 	<page name="step4" view-id="/pages/shop/step4.xhtml">
  |         <redirect/>
  |         <transition name="cancel"   to="cancel"/> 
  |         <transition name="complete" to="complete" />
  |     </page>
  |     
  |     <page name="complete" view-id="/pages/shop/complete.xhtml">
  |         <end-conversation/>
  |         <redirect/>
  |     </page>    
  | 
  |     <page name="cancel" view-id="/pages/index.xhtml">
  | 	    <end-conversation before-redirect="true"/>
  |         <redirect/>    
  |     </page>
  | 
  | </pageflow-definition>

how can i start the wizard from other pages like otherpage1.xhml and otherpage2.xhml? maybe define multiple start-pages?

cheers,
sven

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

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



More information about the jboss-user mailing list