Use dynamic model that returns the List when asked. see LoadableDetachableModel
On Fri, Feb 25, 2011 at 5:49 PM, Zhubin Salehi <zhooz...@yahoo.com> wrote: > > Thanks for your quick reply. I used Wicket 1.4.15. > > I think like you said I need to avoid serializing CGLIB objects. Is there > any specific way to do this? > > Zhubin > > > Martin Grigorov-4 wrote: > > > > There are no changes in Wicket related to the serialization checks. > > There were some improvements in latest 1.4.x and 1.5.x code. > > From which 1.4.x version exactly did you upgrade to 1.5 ? > > > > About 'switch off' - > > see getApplication().getPageManager().supportsVersioning(). > > Better see how to avoid serializing the DB content than switching off > > serialization. > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/NotSerializableException-in-Wicket-1-5-tp3324650p3324703.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >