-
Jan 28th, 2010, 12:18 AM
#1
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
#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.
Cheers,
Stefan
-
Jan 28th, 2010, 09:42 PM
#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: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
-
Forum Rules