no Maps are serializable
and yes your problem is the final keyword before that variable.
because you make it final so that you can reuse that in an (anonymous) inner
class
and then that Entry is placed in the session because it becomes a member of
that inner class

just remove the final keyword (and fix the problem a bit different) and you
will see that the serialization problem will be fixed

johan


On 5/29/07, Sven Schliesing <[EMAIL PROTECTED]> wrote:

So the problem isn't the final keyword but the fact that Maps aren't
serializable, right?

Johan Compagner wrote:
> remove the final keyword of the entry variable.
> You shouldn't keep entry objects like that then it will become members
> and an Map.Entry isn't serializeable
> because the HashMap doesn't serialize those (they aren't meant to be)
>
> johan

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to