Retrieve GWT radiobutton value in server from the request

Posted by Florian d'Erfurth on Stack Overflow See other posts from Stack Overflow or by Florian d'Erfurth
Published on 2010-03-27T11:30:02Z Indexed on 2010/03/27 11:33 UTC
Read the original article Hit count: 396

Filed under:
|
|
|

Hi,

I'm having a headache figuring how to retrieve the gwt Radio Buttons values in the server side.

Here is my UiBinder form:

<g:FormPanel ui:field="form"><g:RadioButton name="fruit">apple</g:RadioButton><g:RadioButton name="fruit">banana</g:RadioButton> ...

So i though i would have to do this on the servlet:

fruit = req.getParameter("fruit")

But of course this doesn't work, parameter fruit doesn't exist :/

So how should i do?

© Stack Overflow or respective owner

Related posts about gwt

Related posts about gwt2