Results 1 to 3 of 3

Thread: spring webflow on refresh page want load another page

  1. #1

    Question spring webflow on refresh page want load another page

    I have a situation in webflow. Where I navigate to the first page of flow after that I am loading all flow pages using the Ajax calls, which means every-time new page get loaded but the URL in browser address bar remains the same. So when user hit refresh, user routed back to first page of webflow.

    "/Sample/dcTesting.page?execution=e1s1#DcHash1"

    Now what I want to achieve is, when user click refresh I want to check some value in flow using expression and instead of opening first page route to some other informational page.

    How to do this?

    Thanks,
    --

  2. #2

    Default

    experts, Is this not possible?
    --

  3. #3

    Default

    You can put a variable in the session scope and in the begging of the flow add a decision state:

    Code:
    <decision-state id="messageView">
    		<if test="sessionVariable==X" then="view1" />
    		<if test="sessionVariable==Y" then="view2" />
    </decision-state>

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •