Lets say I have three radio buttons belonging to a group.   Upon some event, 
I would like to retrieve the value of the radio button selected in my 
UiBInder class.

One possible approach, I guess, is to declare a ui:field for each of the 
radio buttons(like in the example below) and thus retrieve the selected 
value in the UiBInder class.


<g:RadioButton ui:field="value1" value="value1" 
ui:name="rbname">value1</g:RadioButton>
<g:RadioButton ui:field="value2" value="value2" 
ui:name="rbname">value2</g:RadioButton>
<g:RadioButton ui:field="value3" value="value3" 
ui:name="rbname">value3</g:RadioButton>

Is there any other way to achieve this without having to declare a ui:filed 
for each and every radio button of a group.

Note: I would like a solution that does NOT involve "form" or FormPanel.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to