Announcement Announcement Module
No announcement yet.
URL rewrite and "webflow:always-redirect-on-pause" Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.



    • #3
      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:always-redirect-on-pause value="false"/>

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