Results 1 to 3 of 3

Thread: SWF 1.0.5 - How to get URI & params for page preceding flow

  1. #1
    Join Date
    Apr 2008
    Posts
    8

    Default SWF 1.0.5 - How to get URI & params for page preceding flow

    I would like to have access to the URI and params of the page immediately preceding the flow itself. When I run the following code in the start-state action of my FormAction,

    Code:
    HttpServletRequest request = ((ServletExternalContext)context.getExternalContext()).getRequest();
    request.getRequestURI();
    request.getRequestURI() returns wizard/wizard.html, which is the URI of the flow itself, not the page before it.

    I need the URI of the page before the flow so I can go back to it (with the parameters in the URL intact) if the user decides to cancel the flow, and I don't want to rely on the browser's back button.

    Is there a simple way to do this? Thanks in advance.

  2. #2
    Join Date
    Apr 2008
    Posts
    8

    Default

    bumping to top.

  3. #3
    Join Date
    Apr 2008
    Posts
    8

    Default

    Anyone care to take a crack at this? Let me know if there isn't enough info. Thanks.

Posting Permissions

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