-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
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.
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.
If I change to session
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
4 matches
Mail list logo