Results 1 to 1 of 1

Thread: Load Web Flow By ID?

  1. #1
    Join Date
    Jun 2011
    Posts
    29

    Question Load Web Flow By ID?

    Id like to be able to load a flow based on some logic specific to my application.
    I need to use the same URL endpoint but would like to load a different web flow file depending on result of my logic.

    I have defined two web flow files, one in common folder the other in specific. They each have different ID's.

    Code:
    <webflow:flow-location path="/WEB-INF/flows/common/myFlow.xml" id="myCommonID" />
    <webflow:flow-location path="/WEB-INF/flows/specific/myFlow.xml" id="mySpecificID" />
    Is there a way I can process my logic and depending on the result load one of these two floes using the same URL endping.

    For example:

    www.mydomain.com/app/myFlow.htm


    I have tried creating a custom AbstractFlowHandler but can't find the right way to invoke it so the correct flow ID is used.

    I'm also noticing the flowURLHandler is always used by default.
    Last edited by avalanche333; Nov 19th, 2012 at 08:59 AM. Reason: Added additional details

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
  •