In fact, a much simpler solution is to ... not use saveAttachedState in the UISaveState.
Sorry for not having spotted that earlier.

I'll commit that.

Sylvain.

On Tue, 2005-08-09 at 15:27 +0200, Manfred Geiler wrote:
No, no way to make it non-static because it's defined as static in the spec.
Hmm, no idea at the moment.
Isn't it a simple workaround, to wrap your special List into an
serializable managed bean?

-Manfred


2005/8/9, Sylvain Vieujot <[EMAIL PROTECTED]>:
>  One problem though : 
>  UIComponentBase.saveAttachedState is static.
>  Do you think we can make it non-static to allow the overridden method to
> work ?
> 
>  
>  On Tue, 2005-08-09 at 14:35 +0200, Manfred Geiler wrote: 
>  > I think I get it now. Sorry for that.
> > But the x:saveState should still return the same object (value & classes)
> > as the given one.
> > So, the right solution would be to override the
> > UISaveState.saveAttachedState to just serialize the given bean.
> > 
> > Do you agree with this solution ?
> 
> Yes, sounds reasonable.
> 
> -Manfred
> 
>

Reply via email to