Hi,

I just ran into problems with a List view. The Model used for this is 
actually a Map so I put in a entrySet() from the map in the ListView:

new ListView("list", new ArrayList<Map.Entry<IKey, 
Integer>>(map.entrySet())) {
   public void populateItem(final ListItem listItem) {
     final Map.Entry<IKey, Integer> entry = (Map.Entry<IKey, Integer>) 
listItem.getModelObject();
     ...
   }
};


Unfortunately I'm getting an error message that Map.Entry is not 
serializable.

I'm sure this is a known problem with a known fix. Isn't it?

Thanks in advance!

Sven

PS: I'm relatively new to Wicket. So feel free to kick me to a faq I 
missed that covers this issue.


-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to