RE: t:savestate.. component binding serializable problem

2006-10-10 Thread Madhav Bhargava
-Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz Sent: Monday, October 09, 2006 1:26 PM To: users@myfaces.apache.org Subject: Re: t:savestate.. component binding serializable problem CarlHowarth schrieb: Hi, I have an app that uses the tomahawk

Re: t:savestate.. component binding serializable problem

2006-10-09 Thread Werner Punz
CarlHowarth schrieb: Hi, I have an app that uses the tomahawk savestate component to save the state of the backing bean. I have just tried bind a selectonemenu component to the backing bean however as the HtmlSelectOneMenu class is not serializable I get an error as this can not be saved.

Re: t:savestate.. component binding serializable problem

2006-10-06 Thread Kevin Galligan
You could do the following: 1) Mark the bound reference 'transient'. It won't be serialized. 2) Manually implement the Serialize methods. 3) Implement the 'StateHolder' interface, which is similar to #2, except closely tied to JSF/Myfaces. For this to work, you need a recent tomcat source