I'm trying to set an checkbox to be disabled. But it's not working anyway

<%String enable = String.valueOf(myBean.isEnable)%>

<nested:checkbox property="status" value="S" disabled="<%=enable%>"/>

Well, that throws an Exception setDisable(boolean). Ok so I tried

<nested:checkbox property="status" value="S" disabled="<%myBean.isEnable%>"/>

no errors thrown but It does nothing, it doesn't even outputs the disabled on <checkbox> html tag.

Another desperate try:
<nested:checkbox property="status" value="S" disabled="isEnable"/>

Same thing as above.
Can't struts handle checkbox propertly???

Vinicius Carvalho
Squadra Tecnologia
View framework? Thy name is Tapestry

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to