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

skanky78 do-not-reply at jboss.com
Mon Nov 12 17:57:02 EST 2007


i'm using jpbm pageflows together with seam. the problems is, that i'm getting an "illegal navigation" error when i click the link which starts the pageflow (see below for an example). at the moment i can't get the reason why this happens...is this a bug or am i doing something wrong?


pageflow definition:
<?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="start" 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="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/shop/step1.xhtml">
  | 	    <end-conversation before-redirect="true"/>
  |         <redirect/>    
  |     </page>
  | 
  | </pageflow-definition>
  | 
how it is used:

<s:link action="start" propagation="begin" pageflow="createShop" value="start"/>

ps: i'm using the latest official jboss seam release (seam 2)

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

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



More information about the jboss-user mailing list