incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cosma Colanicchia" <cosma...@gmail.com>
Subject Re: What does CHANGE_PERSISTENCE parameter mean?
Date Fri, 23 Jun 2006 07:27:51 GMT
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 <awiner@gmail.com>:
> 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 <cosmacol@gmail.com> 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 <matzew@apache.org>:
> > > 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 <awiner@gmail.com> 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 <cosmacol@gmail.com> 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
> > >
> >
>

Mime
View raw message