【问题标题】:gwt extjs - get the value of a radio buttongwt extjs - 获取单选按钮的值
【发布时间】:2010-04-08 10:27:42
【问题描述】:

我从设计师那里得到 html。 我有 2 个单选按钮。

我喜欢从 GWT 获取单选按钮的数据。 我需要radioButton的引用。

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

但是错误。

我该如何解决这个问题

【问题讨论】:

    标签: gwt extjs


    【解决方案1】:

    RadioButton 没有称为wrap() 的方法——请参阅docs for RadioButton

    您可能想试试SimpleRadioButton,它确实有一个wrap() -- docs

    【讨论】:

      猜你喜欢
      • 2010-09-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-12-05
      • 2011-03-03
      • 1970-01-01
      • 2017-02-06
      • 2012-07-18
      相关资源
      最近更新 更多