Enhancement
Allow better control of application flow
Issue description
Currently the form page always redirects to the topic page after clicking ok.
It should be possible to specify to which URL the form should redirect on clicking ok and cancel.
Developer comments
Form accepts now two query parameters %ro% and %rc%. The first one specifies to which URL the user should be redirected after submitting the form. If its value is %b% and the document has an referrer, it will be redirected to the page he is coming from.
It is similar for cancel. Only that the default behavior is that %window.history.back()% is called (no server request, unless not cacheable), so i currently don't see a use. Just put it in for the sake of completeness.
Use cases
A service displays a list of communication in twitter like manner. By hitting the reply button the form for a new message opens up. On return it should go back to the service page where the new message will be on top.
|
Work sessions
Start |
2011-12-22T08:07:54
|
End |
2011-12-22T09:25:02
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.