Jan 28th, 2010, 12:18 AM
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?
Jan 28th, 2010, 07:32 PM
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.
Jan 28th, 2010, 09:42 PM
Simply we can create a ROO project, and execute following scripts:
persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
Then we can modify the webflow-config.xml by adding these lines:
<webflow:flow-executor id="flowExecutor" >
start the server, and the sample flow can't run any more...