1 Reply Latest reply on Jun 3, 2008 6:06 AM by Joshua Jackson

    Some (But Not All) Page Transitions in JPDL Not Working

    Neil C Novice

      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.