Post your stack trace, but it's probably a non-serializable reference
in your bean that's generating the error, and not your bean.   You
will either need to mark that reference as transient (in which case it
will not be saved or restored) or make that reference serializable (or
StateHolder'able).

On 3/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi, All
>
> I'm using MyFaces component saveState and trys to save whole bean, so I
> implemented interface StateHolder for this bean as by manual, but I still
> get NotserializableException for my request scope bean.
>
> Could you please clarify this moment for me, please? I'm using
> SAVE_STATE_METHOD = client
>
>
>
> As manual I can implements one of these interfaces StateHolder or
> Serializable, but with StateHolder it isn't works, why?
>
>
>
> Thanks,
>
> Yura.

Reply via email to