You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by James Eliyezar <ja...@mcruncher.com> on 2012/09/12 02:40:03 UTC
Re: ObjectAutoCompleteBuilder in wicket 1.5.7 get is not a valid
Serializable" error.
Any updates regarding this?
The issue <https://github.com/wicketstuff/core/issues/148> filed in the
wicketstuff issue tracker remains unanswered.
On Thu, Aug 30, 2012 at 3:38 PM, Vignesh Palanisamy
<vi...@mcruncher.com>wrote:
> This is the Class tom,
>
> private class SearchOptions implements Serializable
> {
> private String statusKey;
>
> public String getStatusKey()
> {
> return statusKey;
> }
>
> public void setStatusKey(String statusKey)
> {
> this.statusKey = statusKey;
> }
>
> }
>
> and another class is status
>
> private class Status implements Serializable
> {
> private String key;
> private String value;
>
> public Status(String key, String value)
> {
> this.key = key;
> this.value = value;
> }
>
> public String getKey()
> {
> return key;
> }
>
> public void setKey(String key)
> {
> this.key = key;
> }
>
> public String getValue()
> {
> return value;
> }
>
> public void setValue(String value)
> {
> this.value = value;
> }
>
> @Override
> public String toString()
> {
> return getValue();
> }
> }
>
> -Vignesh Palanisamy
>
> On Thu, Aug 30, 2012 at 3:26 PM, Thomas Götz <to...@decoded.de> wrote:
>
> > Are all properties (fields) of HomePage$SearchOptions also Serializable?
> >
> > -Tom
> >
> >
> > On 30.08.2012, at 03:17, Vignesh Palanisamy <vi...@mcruncher.com>
> wrote:
> >
> > > while implementing Serializable also the same error came martin!
> > >
> > >
> > > On Wed, Aug 29, 2012 at 6:17 PM, Martin Grigorov <mgrigorov@apache.org
> > >wrote:
> > >
> > >> This line says it all:
> > >>
> > >> private java.lang.Object
> > >> org.apache.wicket.model.CompoundPropertyModel.target
> > >> [class=org.apache.wicket.quickstart.HomePage$SearchOptions] <-----
> > >> field that is not serializable
> > >>
> > >>
> > >> HomePage$SearchOptions is not Serializable
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
--
Thanks & regards
James Selvakumar