So essentially I want to use Wicket 1.5 to display an item and its associated quantity. The data structure I am using to back this is a Map (new HashMap()) where Item is a POJ whose details are of no consequence. Essentially I would like to use one of wicket's repeaters, but I only have experience using ListView. Is there a repeater that would work well with a Map, or am I going to need to code my own? If I need to code my own, what is the best class to override?
The List has has key->value pairs of type: Item->Integer where integer is the quantity. I would the output of the repeater to essentially be something like: QuantityX : ItemName (ItemNum) so for example: 2x : someItem (255609) 1x : someOtherItem (125123) The map can change through user input, but I am familiar with refreshing component's markup with AJAX via Wicket. Your help is much appreciated. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ListView-or-other-Repeater-with-backing-map-tp4598817.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]
