单选按钮:
<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="'100;'" /> 只要指定'operator.rolesId',就会根据定operator.rolesId的值 决定那个OPTION selected