You're right (Gavin) about begin of the pageflow,

In this case, not set view-id on <start-page> will produce a  exception when 
transaction "tostart" form ShipTo will run, because no view are define for 
PurchaseStartPage.

An other suggestion : don't use the page/state name to define next/prev button 
(because if you want to change order of navigation you'll need to change 3 
files (minimum) : 2 jsp and the jpdl :
eg
in shipTo.jsp :
<h:commandButton type="submit" value="previous" action="previous"/>
  | <h:commandButton type="submit" value="next" action="next"/>
  | 
in jpdl
   <page name="ShipTo" view-id="/shipTo.jsp">
  |       <redirect/>
  |       <transition name="previous" to="PurchaseStartPage"/>
  |       <transition name="next" to="BillTo"/>
  |    </page>
  | 

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

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


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to