This content has been marked as final.
Show 3 replies
-
1. Re: Resend post data
ielt Sep 23, 2005 4:55 AM (in response to gavin.king)This is not exactly about HTML, browser shows this window on page reload each time when the current page was recieved as an answer for the request with the post data.
And it appears in most popular browsers, and in firefox (at least on Windows) I am using as well.
Although the solution seems to be pretty easy - just do the http redirect after the processing the post data to the same page (although I am new to JSF and not sure how to do send back redirect header instead of rendered page). And the seam will do all the job preserving the correct state.
You could consider adding this to the demo making it work even better. -
2. Re: Resend post data
theute Sep 23, 2005 5:03 AM (in response to gavin.king)So i guess the "redirect" tag when defining navigation rules should be enough.
Right Jacob ? -
3. Re: Resend post data
hookomjj Sep 23, 2005 12:48 PM (in response to gavin.king)"thomas.heute@jboss.com" wrote:
So i guess the "redirect" tag when defining navigation rules should be enough.
Right Jacob ?
JSF works off of posts, to preserve data integrety (hence the warnings). A redirect could be used, but you would lose the conversation state-- leaving the data integrity behind that JSF components enforce.
You are right in saying that a redirect might be nice, but the demo is meant to show off conversations-- which would defeat the purpose of being an example. Also, I don't know if communicating back a redirect, losing state, and then directing the browser to a different page would be the most efficient approach.