Well, the title pretty much says it all. For my order pageflow, some transitions work while others don't.
Here is an example of one that doesn't.
The facelet:
<a jsfc="h:commandLink" value="Advanced Search" action="#{searchAction.setPlacingOrder(true)}" id="srmSearchlink"/>
The pageflow definition:
<page view-id="/sales/shop.jspx" name="shop"> <redirect/> <transition name="search" to="advancedSearch"> <action expression="#{searchAction.setPlacingOrder(true)}"/> </transition> </page> <page view-id="/search.jspx" name="advancedSearch"> <redirect/> . . . </page>
Finally, the code for the searchAction component:
public void setPlacingOrder(boolean placingOrder) { this.placingOrder = placingOrder; }
Any insight into why the transition isn't working is appreciated.
Thanks.
1. Have you started pageflow and defined it inside your page xml file with begin-conversation ?
2. You didn't define anywhere either in searchAction component nor your facelet page that you want to transit to advancedSearch
page.