Hi Martin,

I think you mean for the attributes that I say are added before the call to
markInitialState(). So, as I see, the
org.apache.myfaces.view.facelets.MARK_ID, locale, uniqueIdCounter,
renderKitId, rendererType are not present in the partial state at the end of
the lifecycle, although they are in the StateHelper. The reason for this is
that they are added there before the call to markInitialState(). So, they
will never be in the partial state.

Regards,
Marius

On Wed, Jul 14, 2010 at 3:05 PM, Martin Marinschek
<[email protected]>wrote:

> Hi Marius,
>
> you are sounding a bit unsure about this - did you really check what
> is in the partial state at the end of the lifecycle?
>
> best regards,
>
> Martin
>
> On 7/14/10, Marius Petoi <[email protected]> wrote:
> > Hello,
> >
> > After the improvements we discussed in previous threads, here is what the
> > state looks like for some of the components:
> >
> > - the org.apache.myfaces.view.facelets.MARK_ID
> > (ComponentSupport.MARK_CREATED) attribute is present in almost all the
> > components, but that is put in the attributes map before the initial
> state
> > is marked, so I think it does not affect partial state saving
> >
> > - same goes for locale, uniqueIdCounter, renderKitId, rendererType, which
> > are also attributes in the StateHelper, but are added before the call to
> > markInitialState(). So they also shouldn't be included in the partial
> state.
> >
> > - for UIInput, the partial state contains the value, localValueSet,
> > submittedValue and valid properties. This is the partial state which is
> > stored after one submit.
> >
> > Do you have other suggestions about what else could be improved in
> partial
> > state saving?
> >
> > Regards,
> > Marius
> >
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>

Reply via email to