Redirect on Post with view parameters
I try to figure out to implement a dialog using the redirect-on-post pattern.
I want to achieve the following:
1) Link to /faces/article.xhtml?id=4711
2) Preload article from database
3) rendering the form
4) form submit, action is saving the article and leaves a "Saved message"
5) redirect to 1) and print the message
Actually only step 4 is the problem. The reason is that the form doesn't offer an attribute include-view-params. How should I solve this?
1) and 2) can easily solved with a view param and