4 Replies Latest reply on Dec 23, 2009 2:42 PM by Piotr Salski

    Back Button Working Just Fine in JPDL Pageflow

    Neil C Novice

      I have defined a relatively simple order process using a JPDL pageflow definition.  I have found though that the back button functions just fine when it is in fact supposed to be disabled. 


      Here is how I start the flow:


      <input type="button" jsfc="s:button" styleClass="submitButton" id="orderButton"
                      view="/sales/beginOrder.jspx"
                      value="Place Order" pageflow="orderPageflow" propagation="begin"/>
      



      Then here are the first two pages defined in the flow:



      <start-page view-id="/sales/beginOrder.jspx" name="beginOrder">
            <redirect/>
            <transition name="shop" to="shop">
               <action expression="shop"/>
            </transition>
      </start-page>
      <page view-id="/sales/shop.jspx" name="shop">
            <redirect/>
      .
      .
      .
      </page>
      



      Yet I can back button from shop to beginOrder with no problem.  The same is true for the rest of the flow.


      Any insight into how I can disable the back button is much appreciated.


      Thanks.