if the map is called something like
Map<Item, Integer> itemMap = new HashMap<Item, Integer>();
Hmm, so I would instantiate the ListView like so?
ListView<List<Map.Entry<Item, Integer>> lv = new
ListView<List<Map.Entry<Item, Integer>>("id", new
PropertyModel<List<Map.Entry<Item, Integer>>(this,
itemMap.entrySet()){
populateItem(Map.Entry<Item, Integer> entry)
{
}
}
Is this what you are implying somewhat? Thanks for the answer by the way, I
had not considered just, for lack of a better term, "fooling" the listview
into using my map elements.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/ListView-or-other-Repeater-with-backing-map-tp4598817p4598865.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]