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 <[email protected]> wrote:

> Are all properties (fields) of HomePage$SearchOptions also Serializable?
>
>    -Tom
>
>
> On 30.08.2012, at 03:17, Vignesh Palanisamy <[email protected]> wrote:
>
> > while implementing Serializable also the same error came martin!
> >
> >
> > On Wed, Aug 29, 2012 at 6:17 PM, Martin Grigorov <[email protected]
> >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: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to