Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
spring-operator opened this issue Apr 28, 2006 · 4 comments

Comments

@spring-operator
Copy link
Contributor

spring-operator commented Apr 28, 2006

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:

2 votes, 3 watchers

@spring-operator
Copy link
Contributor Author

Erwin Vervaet commented

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

@spring-operator
Copy link
Contributor Author

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
Copy link
Contributor Author

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
Copy link
Contributor Author

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant