Thanks for that hint. I believe this is a way to get around this problem too..
But I was wondering if there is a way to handle this post get redirect via a filter.
So instead of handling it at the richfaces/jsf layer, i would like to have a servlet filter take care about it, one layer below.
Therefore my question, is that possible? If yes, how?
How about a PhaseListener?
Is it possible to implement this pattern as a phaseListener, rathern than handling this issue in business layer?!
I would be actually fine with this implementation here:balusc (http://balusc.blogspot.com/2007/03/post-redirect-get-pattern.html)
but it does not work with richfaces 4, so what would be needed to get changed in order to work?
I have tried now to solve this issue via jsf navigation rules and its redirect.
It does do its job correctly, no doubt, but in my case this solution does not work, since i use oncomplete to execute some js and if the redirect is on, this js never gets updated correctly because it got redirected before.
So the question now ist, how can I redirect from post to get on the server side without using client side redirect?