Hi!
I have a bean with enum field. 
When I implements radiochoice model by this enum field in html radiochoise
code i see:

<input name="rubrics:0:rubricAccessType" value="0" id="rubricAccessType5-0"
type="radio"><label for="rubricAccessType5-0">YES</label><br>
<input name="rubrics:0:rubricAccessType" value="1" id="rubricAccessType5-1"
type="radio"><label for="rubricAccessType5-1">NO</label><br>
<input name="rubrics:0:rubricAccessType" value="2" id="rubricAccessType5-2"
type="radio"><label for="rubricAccessType5-2">AUTO</label><br>
<input name="rubrics:0:rubricAccessType" value="3" id="rubricAccessType5-3"
type="radio"><label for="rubricAccessType5-3">MODERATION</label><br>
<input name="rubrics:0:rubricAccessType" value="4" id="rubricAccessType5-4"
type="radio"><label for="rubricAccessType5-4">USER_DEFINED</label><br>


Labels contents enum values. But input values contents order element index
and this is no good!
How implements radiochoise so value of input contents enum value? (no index
element!)

Thanks! Sorry for my english. Ask me questions!


 

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/radiochoice-values-tp2251468p2251468.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