[jboss-user] [JBoss Seam] - Page Flow Start Question

tom_goring do-not-reply at jboss.com
Fri Jan 4 12:01:37 EST 2008


Hi,

I have a simple page flow and want to know how to link to it from another page.  I do not want to reference the start page but the page flow.  All the examples I can see link using the start page (for me that will be determined when the flow starts).

I.e. I want to do something like:


  | .. some other page...
  | <s:button value="New Starter" pageflow="ContractorJoinWizard"/>
  | 


  | <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="ContractorJoinWizard">
  |    
  |    <start-state name="Start">
  |    		<transition to="JoinWizardPickScheme"></transition>
  |    </start-state>
  |    
  |    <start-page name="JoinWizardPickScheme" view-id="/contractor/JoinWizardPickScheme.xhtml">
  | 	      <redirect/>
  |       	<transition name="next" to="JoinWizardComplete"/>
  | 		<transition name="cancel" to="JoinWizardComplete"></transition>
  |    </start-page>
  | 
  |    <page name="JoinWizardComplete" view-id="/contractor/JoinWizardComplete.xhtml">
  |       <end-conversation/>
  |       <redirect/>
  |    </page>
  |    
  | </pageflow-definition>
  | 

Thanks in advance

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

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



More information about the jboss-user mailing list