Changing the code to: new ListView("list", new ArrayList<Map.Entry<IKey, Integer>>(map.entrySet())) { public void populateItem(ListItem listItem) { Map.Entry<IKey, Integer> entry = (Map.Entry<IKey, Integer>) listItem.getModelObject(); ... } };
doesn't fix the problem. Furthermore http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html says that Maps are not serializable. Now I'm confused. btw: I didn't make the variable final to use it in an inner class. It was just a leftover of c&p. Sven ------------------------------------------------------------------------- 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