RadioButton value

2008-11-24 Thread Peter Ondruška

Hello,

I use GWT 1.5.3. I post to CGI backend a form. This form has group of
RadioButtons:

RadioButton yes = new RadioButton(answer, yes)
 RadioButton no = new RadioButton(answer, no)

But the values posted to backed are:

answer=on

No matter what button was checked. I would expect something like:

answer=yes

or

answer=no

Am I doing something wrong or is this a bug?

Regards,

Peter

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: RadioButton value

2008-11-24 Thread Peter Ondruška

OK, found it as bug
http://code.google.com/p/google-web-toolkit/issues/detail?id=458

On Mon, Nov 24, 2008 at 16:53, Peter Ondruška [EMAIL PROTECTED] wrote:
 Hello,

 I use GWT 1.5.3. I post to CGI backend a form. This form has group of
 RadioButtons:

 RadioButton yes = new RadioButton(answer, yes)
  RadioButton no = new RadioButton(answer, no)

 But the values posted to backed are:

 answer=on

 No matter what button was checked. I would expect something like:

 answer=yes

 or

 answer=no

 Am I doing something wrong or is this a bug?

 Regards,

 Peter


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---