Re: t:saveState not working on redirect

2006-05-19 Thread Werner Punz
Mike Kienenberger schrieb:
> On 5/10/06, Julian Ray <[EMAIL PROTECTED]> wrote:
>> I have 3 pages which share saveState objects (all Integers). The pages
>> work
>> fine until I add  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?
> 
> Still under debate :)
> 
> It's a known issue.  There have been several attempts at patches. Feel
> free to use one if you need the behavior.
> 
> http://issues.apache.org/jira/browse/MYFACES-516
> 
Actually the conversation tag of mario (which hopefully works by now)
should resolve the issue as well, because it does not rely on
savestating anymore but on direct session handling...



Re: t:saveState not working on redirect

2006-05-10 Thread Mike Kienenberger

On 5/10/06, Julian Ray <[EMAIL PROTECTED]> wrote:

I have 3 pages which share saveState objects (all Integers). The pages work
fine until I add  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?


Still under debate :)

It's a known issue.  There have been several attempts at patches. 
Feel free to use one if you need the behavior.


http://issues.apache.org/jira/browse/MYFACES-516


Re: t:saveState not working on redirect

2006-05-10 Thread Dennis Byrne
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  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
>
>




t:saveState not working on redirect

2006-05-10 Thread Julian Ray



I have 3 pages which 
share saveState objects (all Integers). The pages work fine until I add 
 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