I don't have any HashMap-s that use SMSEvent object as a key. Only List-s

Regards,
Martin

-----Original Message-----
From: Jonas [mailto:barney...@gmail.com] 
Sent: Friday, March 12, 2010 3:29 PM
To: users@wicket.apache.org
Subject: Re: why is hashcode() called on page deserialization?

Yes, exactly. But the stacktrace you posted is about a HashMap that is
directly referenced from one of your
components - you should also use e.g. LoadableDetachableModel there, I guess.

On Fri, Mar 12, 2010 at 2:25 PM, Martin Asenov <mase...@velti.com> wrote:
> Hi, Jonas!
>
> I only have some ListView-s with List<SMSEvent> passed as an argument. You 
> mean to replace the List with LoadableDetachableModel, that returns the List?
>
> Regards,
>
> -----Original Message-----
> From: Jonas [mailto:barney...@gmail.com]
> Sent: Friday, March 12, 2010 3:18 PM
> To: users@wicket.apache.org
> Subject: Re: why is hashcode() called on page deserialization?
>
> I guess you have a HashMap field in your component, which has an entry with an
> SMSEvent object as key. You probably shouldn't hold on to references to spring
> loaded objects. Instead, you should just have an accessor object, which knows
> how to reload that spring loaded object, e.g. LoadableDetachableModel.
>
> cheers,
> Jonas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to