Create one single ValueChangeHandler and add it to all the
radiobuttons, and have it save which one got pressed.  There's no GWT
functionality which does this for you.

On May 4, 6:40 am, Stephan T <[email protected]> wrote:
> I have ten radio buttons which is a group. Is there a way to ask the
> group of it's current selected value or do I have to go through every
> RadioButton and check which one is "true"?
>
> Also, i'd like to attach an event to change on the group. Do I really
> have to attach a ChangeEvent on each RadioButton?
>
> Can't find anything in the docs. This is basic html form behaviours,
> so I'm suprised this information is hard to find. Or maybe I haven't
> searched enough.

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

Reply via email to