When an HTTP server sends a redirect response to the client, the client then 
performs a second request.  This drops all of the form values, so there is no 
state for JSF (or ASP.net for that matter) to restore on the second response.

Dennis Byrne

>-----Original Message-----
>From: Julian Ray [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, May 10, 2006 11:55 AM
>To: ''MyFaces Discussion''
>Subject: t:saveState not working on redirect
>
>I have 3 pages which share saveState objects (all Integers). The pages work
>fine until I add <redirect/> to the navigation at which point saveState does
>not work across pages (although it seems to work for other pages which
>post-back to themselves.
>
>Is this a bug or valid behaviour?
>
>Thanks
>
>


Reply via email to