Dear Forum,

I would like to display a group of radio choices and I will use RadioGroup
since it seems to be the fittest for my purpose. I got the implementation
example from  http://examples7x.wicket.apache.org/forminput/?
<http://examples7x.wicket.apache.org/forminput/?>  

I have, a map of key->values. On the RadioGroup, I would like to display the
value from the map as label, but when getting the RadioGroup's model object,
I would like to get the key value from the map.

The only way I thought I could implement the desired behaviour is to use
List<Map.Entry&lt;K,V>> on the RadioGroup. However, it seems like a
convoluted workaround.

Would you have a suggestion of how to implement a RadioGroup (or even
RadioChoice) using Map<K,V> rather than List<T>?


Thanks,
Lucas

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/RadioGroup-or-even-RadioChoice-with-Map-String-String-values-tp4678526.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to