Results 1 to 3 of 3

Thread: URL rewrite and "webflow:always-redirect-on-pause"

  1. #1
    Join Date
    Jan 2009
    Location
    Shanghai, China
    Posts
    7

    Default URL rewrite and "webflow:always-redirect-on-pause"

    we found the "webflow:always-redirect-on-pause" attribute of "webflow:flow-executor" definition will affect the url rewriting someway.

    1. the default value for "webflow:always-redirect-on-pause" is "true", that works fine, but the URL will appear something like [context]/app/xxx?execution=e2s1 on all states except first state. The url rewriting does not work.

    2. if we turn the attribute off, then the signal triggered by an <input type="submit"/> element will not work anymore...

    so, is it an issue?

  2. #2
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    The URL rewriting does seem a little weird when using WebFlow. However, at least for me that does not influence the proper functioning of WebFlow in Roo applications. For example the WebFlow addon installs three view states and all three seem to work fine for me. Can you elaborate what exactly is not working for you (apart from a slightly unconventional URL)? I am trying to understand the problem better so we can coordinate with the WebFlow team to see what we can improve.

    Cheers,
    Stefan
    Stefan Schmidt
    Software Engineer, Spring Roo
    SpringSource - a division of VMware
    twitter @schmidtstefan

  3. #3
    Join Date
    Jan 2009
    Location
    Shanghai, China
    Posts
    7

    Default

    Simply we can create a ROO project, and execute following scripts:

    persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
    web flow

    Then we can modify the webflow-config.xml by adding these lines:
    <webflow:flow-executor id="flowExecutor" >
    <webflow:flow-execution-attributes>
    <webflow:always-redirect-on-pause value="false"/>
    </webflow:flow-execution-attributes>
    </webflow:flow-executor>

    start the server, and the sample flow can't run any more...

Posting Permissions

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