Maybe it's a bug, maybe they did it on purpose. I'm not sure, as I can
see both an "automatic" default value and "null" default value to
work. but, to make this fix simple, just throw a default value into
the constructor statement of your RADIO_BUTTON_GROUP.

To file a bug: http://code.google.com/p/google-wave-resources/issues/list

On Nov 19, 6:39 am, "[email protected]" <[email protected]> wrote:
> This is not working for me 2 weeks ago:
>
> 1) Append elements to the formview.
>
>  blip.getDocument().getFormView().append(new FormElement
> (ElementType.RADIO_BUTTON_GROUP, "radio_group"));
>
>  blip.getDocument().getFormView().append(new FormElement
> (ElementType.RADIO_BUTTON, "radio_group","one"));
>
>  blip.getDocument().getFormView().append(new FormElement
> (ElementType.RADIO_BUTTON, "radio_group","two"));
>
> 2) get the value.
>
> choice = blip.getDocument().getFormView().getFormElement
> ("radio_group").getValue();
>
> choice return the first element who have added to the
> radio_button_group WHEN I HAVE NOT CLICKED ON THE RADIO.
>
> Conclusion: THIS IS A BUG.

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" 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-wave-api?hl=.


Reply via email to