Issue Details (XML | Word | Printable)

Key: SWF-116
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Andreas Schildbach
Votes: 2
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Spring Web Flow

provide a convenient way to rewrite URLs with flow execution keys

Created: 29/Apr/06 12:07 AM   Updated: 05/Jan/09 02:24 PM
Component/s: Core: View Selection Rendering
Affects Version/s: None
Fix Version/s: 3.0.0.M2

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive webflowtags.zip (10 kB)

Issue Links:
Depends
 


 Description  « Hide
Currently, you have to rewrite all URLs by hand: constructs like "detail.html?_flowExecutionKey=${flowExecutionKey}" clutter every JSP (or other view template).

A possible SWF taglib springs to mind, with a tag similar to <c:url>.

Or perhaps a ServletFilter could override encodeUrl() to magically provide the key, similar to session URL rewriting provided by the default implementation of encodeUrl()? This way, the functionality of <c:url> would not have to be duplicated.


Erwin Vervaet added a comment - 25/Sep/06 03:30 AM
Should probably be looked into when doing view template support tags.

Marten Deinum added a comment - 18/Dec/06 10:09 AM
For our current project I already have some web flow tags created.
- Write hidden flowExecutionKey field
- render links with key, eventId
- render submit button with the correct eventId name and optional hidden flowExecutionKey field.

When interested I can share the code.

Marten Deinum added a comment - 21/Dec/06 02:46 AM
Implementation of spring web flow tags which we use in our project to render tags. Feel free to use/adopt/abuse the code.

Alex Marshall added a comment - 20/Dec/07 04:32 PM
I think this is a really good idea that could help a lot of people using Webflow. Why hasn't there been any action on this in the (more than a) year since it's been reported ?