Bugs item #1194464, was opened at 2005-05-03 15:46 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1194464&group_id=119783
Category: core Group: 1.0.0-rc2 Status: Open Resolution: None Priority: 8 Submitted By: Martijn Dashorst (dashorst) Assigned to: Martijn Dashorst (dashorst) Summary: ClassCastException on ListItem.onAttach using CompoundModel Initial Comment: When using a CompoundPropertyModel to bind a list to a listview, the ListItem.onAttach throws a ClassCastException. This is because the model of the ListView is not used to cast to an element, but the root model. The solution is to use the ListView.getModelObject() instead of having the ListItemModel try to retrieve the model itself. The ListItem now takes a ListView instead of a ListModel, and requests the model on the listview. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1194464&group_id=119783 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
