This is not a bug, you are using the wrong constructor.  If you have a
label, you need a defaultValue

public FormElement(ElementType type,
                   java.lang.String name,
                   java.lang.String defaultValue)

instead of

public FormElement(ElementType type,
                   java.lang.String label,
                   java.lang.String name,
                   java.lang.String defaultValue)

http://wave-robot-java-client.googlecode.com/svn/trunk/doc/index.html

On Nov 19, 3: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