You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Galen Dunkleberger <ga...@gmail.com> on 2005/08/25 19:23:25 UTC
SaveState Question
Am I correct in believing that the x:saveState tag will only save state for
the life of a single view? In other words as long as I'm posting back to the
same viewId that state will be saved but as soon as I navigate to another
view the state is gone? Or does this tag allow you to save state across
requests across views?
Thanks,
Galen
Re: SaveState Question
Posted by Galen Dunkleberger <ga...@gmail.com>.
Will that work even over a redirect?
On 8/25/05, Mike Kienenberger <mk...@gmail.com> wrote:
>
> As long as you navigate to a page that contains a matching x:saveState
> tag, the data will be moved from your posted form data to the current
> component tree and be rendered back out as html again.
>
> On 8/25/05, Galen Dunkleberger <ga...@gmail.com> wrote:
> > Am I correct in believing that the x:saveState tag will only save state
> for
> > the life of a single view? In other words as long as I'm posting back to
> the
> > same viewId that state will be saved but as soon as I navigate to
> another
> > view the state is gone? Or does this tag allow you to save state across
> > requests across views?
> >
> > Thanks,
> >
> > Galen
> >
>
Re: SaveState Question
Posted by Mike Kienenberger <mk...@gmail.com>.
As long as you navigate to a page that contains a matching x:saveState
tag, the data will be moved from your posted form data to the current
component tree and be rendered back out as html again.
On 8/25/05, Galen Dunkleberger <ga...@gmail.com> wrote:
> Am I correct in believing that the x:saveState tag will only save state for
> the life of a single view? In other words as long as I'm posting back to the
> same viewId that state will be saved but as soon as I navigate to another
> view the state is gone? Or does this tag allow you to save state across
> requests across views?
>
> Thanks,
>
> Galen
>