Property 'selected' is not setted according to the selected GENDER? Does
property 'selected' remains null when you press 'save' button ?
add( new RadioChoice<String>("radioButton", new PropertyModel<String>(this,
"selected" ),GENDER ).setSuffix(""));
Here I taken Gender as a list of values dynamically . The fields are saved
successfully when the form was saved. In the registration page i retrieve
the fields what i have added. In that i select one option and click the
save button but i am getting the null value. The selected value is not saved
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-save-the-selected-radio-choice-option-in-wicket-tp4642586p4642713.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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org