单选按钮:
<ww:radio value="hhologram.isFormal"  list="#{1:'否',0:'是'}"  name="'hhologram.isFormal'"></ww:radio>

注意value中无单引号,表示要解析成值的,name中有单引号,表示是字符串,根据value 决定那个checked

<ww:if test="isFormal.equals(0)" >是</ww:if> 因为isFormal是INT类型,所以不需要单引号


多选按钮:
<ww:select name="'operator.rolesId'"  cssClass="'input2'"
                                             list="rolesList"
                      listValue="rolesName"
                      listKey="rolesId"
                      cssStyle="'width:100;'" />  只要指定'operator.rolesId',就会根据定operator.rolesId的值 决定那个OPTION selected

相关文章:

  • 2021-12-15
  • 2022-12-23
  • 2022-01-13
  • 2021-08-22
  • 2021-09-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-22
  • 2021-09-03
  • 2021-06-13
  • 2021-06-05
  • 2022-12-23
相关资源
相似解决方案