Yes, generally the component (or the renderer) will decide that
it wants some state persisted.

-- Adam


On 6/23/06, Cosma Colanicchia <[EMAIL PROTECTED]> wrote:

Thanks for the explanation.

It makes sense for *some* of a component's state to be persisted even
when the user navigate to other pages. Is the component itself that
have to declare which state it wants to be managed this way?

I'm just curious about how this works :)

Cosma


2006/6/16, Adam Winer <[EMAIL PROTECTED]>:
> Cosma,
>
> It's a different set of state.  The component state that's normally
> saved vaporizes once you navigate off to another page.  Mostly,
> that's a good thing - most of that state shouldn't be preserved.
>
> But, say you had a table that supported drag-and-drop column
> reordering. You'd want that reordering to still be there for that
> user when coming back to that page.  That's what the
> ChangeManager is for.
>
> -- Adam
>
>
> On 6/16/06, Cosma Colanicchia <[EMAIL PROTECTED]> wrote:
> > Thank you Adam and Matthias.
> >
> > @Adam: your example of showDetail/tree make me think about the
> > component tree state, the one that can is normally saved in session or
> > serialized on the page. Are we talking about the same "state" or is it
> > a different thing?
> >
> >
> > Cosma
> >
> >
> >
> > 2006/6/16, Matthias Wessendorf <[EMAIL PROTECTED]>:
> > > Cosma-
> > >
> > > based on Adam's mail I added something more the web.xml file
> > > from the demo app ([1]).
> > >
> > > -Matthias
> > >
> > > [1] http://tinyurl.com/qxbtv
> > >
> > > On 6/15/06, Adam Winer <[EMAIL PROTECTED]> wrote:
> > > > Yeah, it's kind of undocumented.  Basically, it's for plugging
> > > > a "ChangeManager", which is an API that can persist component
> > > > modifications (like, is a showDetail or tree expanded or
collapsed?)
> > > > across requests.
> > > >
> > > > -- Adam
> > > >
> > > >
> > > > On 6/15/06, Cosma Colanicchia <[EMAIL PROTECTED]> wrote:
> > > > > Hi,
> > > > >
> > > > > anyone can explain me what is the effect of setting the
> > > > > org.apache.myfaces.adf.CHANGE_PERSISTENCE context parameter? I
can't
> > > > > find any documentation about this..
> > > > >
> > > > > Thanks in advance
> > > > > Cosma
> > > > >
> > > >
> > >
> > >
> > > --
> > > Matthias Wessendorf
> > > Aechterhoek 18
> > > 48282 Emsdetten
> > > blog: http://jroller.com/page/mwessendorf
> > > mail: mwessendorf-at-gmail-dot-com
> > >
> >
>

Reply via email to