开发者

gwt extjs - get the value of a radio button

开发者 https://www.devze.com 2022-12-26 17:00 出处:网络
i get开发者_开发问答 html from designer. i have 2 radio buttons there. I like to get data of radio button from GWT.

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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消