Hi,

I couldn't seem to find the answer to this question but it's probably pretty
easy. I have a radio choice like so:

RadioChoice<String> rc = new RadioChoice<String>("answer", new
PropertyModel<String>(item, "selected"), item.getAnswers());

But basically it saves the answer text when what I really want to save is
the value number e.g. "1" if the first radio was selected or "2" if it was
the second. 

Thanks! Jason


-- 
View this message in context: 
http://www.nabble.com/get-the-index-number-of-the-RadioChoice-selected-and-and-not-the-label-tp22486349p22486349.html
Sent from the Wicket - User 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