As Martin suggested, you can use an LoadableDetachableModel

On Fri, Feb 25, 2011 at 2:46 PM, Zhubin Salehi <[email protected]> wrote:

>
>
> Pedro Santos wrote:
> >
> > Text field "name" in "logicalEntityForm" has an PropertyModel targeting a
> > DetailSearchCriteria, this class has the field "detailParam" of type
> > DetailParam, and DetailParam has the field "names" of a not serializable
> > property type: List
> > A lot of List implementations are serializable, but the one at
> > the DetailParam is not.
> >
> That's right, because the list is lazily loaded from the database. I'm not
> sure how to make Wicket not try to serialize those objects...
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/NotSerializableException-in-Wicket-1-5-tp3324650p3324902.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Pedro Henrique Oliveira dos Santos

Reply via email to