spring-webflow icon indicating copy to clipboard operation
spring-webflow copied to clipboard

provide a convenient way to rewrite URLs with flow execution keys [SWF-116]

Open spring-operator opened this issue 18 years ago • 4 comments

Andreas Schildbach opened SWF-116 and commented

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.


Attachments:

Issue Links:

  • #121 View template support including automatic bookmark-friendly flow URL generation and a spring:webflow tag library. ("depends on")

2 votes, 3 watchers

spring-operator avatar Apr 28 '06 16:04 spring-operator

Erwin Vervaet commented

Should probably be looked into when doing view template support tags.

spring-operator avatar Sep 24 '06 19:09 spring-operator

Marten Deinum commented

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.

spring-operator avatar Dec 18 '06 02:12 spring-operator

Marten Deinum commented

Implementation of spring web flow tags which we use in our project to render tags. Feel free to use/adopt/abuse the code.

spring-operator avatar Dec 20 '06 18:12 spring-operator

Alex Marshall commented

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 ?

spring-operator avatar Dec 20 '07 08:12 spring-operator