Sorry, I read quickly.
Here is one possible solution(using html instead of Widgets):
<g:HTMLPanel>
<input type="radio" name="group1" value="Milk"> Milk<br>
<input type="radio" name="group1" value="Butter" checked> Butter<br>
<input type="radio" name="group1" value="Cheese"> Cheese
</g:HTMLPanel>
Element e = event.getNativeEvent().getEventTarget().cast();
String selectedValue = e.getAttribute("value");
On Tue, Dec 7, 2010 at 8:07 AM, Ed <[email protected]> wrote:
> Thanks Gal, but I don't think you understand my question. What don't
> you understand?
> Like explained above, the listener is attached to a HTMPPanel, as such
> that the source in the event (event.getSrouce()) equals the HTMLPanel
> and not the RadioButton
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
--
Guit: Elegant, beautiful, modular and *production ready* gwt applications.
http://code.google.com/p/guit/
--
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.