tags:

views:

239

answers:

1

i get html from designer. i have 2 radio buttons there.

I like to get data of radio button from GWT. I need a reference of radioButton.

RadioButton rb = RadioButton.wrap(Dom.getElementById("abc")); 

but error.

how can i solve this

A: 

RadioButton doesn't have a method called wrap() -- see the docs for RadioButton.

You may want to try SimpleRadioButton, which does have a wrap() -- docs.

Jason Hall