Hi

I am prepopulating my map-backed action form and one of the properties is of type checbox. The problem I am having is that when I use disabled="true" in html:checkbox tag it unchecks the checkbox that is supposed to be checked (as it is prepoulated). If I remove disabled="true" then it is rightly populated so I know that my pre populating logic is right. Is this a bug or I am doing something wrong? Following is the code snippet

<logic:iterate id="field" name="fields">
<bean:write name="field" property="displayName"/>
<bean:define id="fieldvar" name= "field" property="name"/>
<% String name = "value(" + fieldvar + "_required)"; %>
<html:checkbox name="regModuleFormBean" property="<%=name%>" value="true" disabled="true"/>

</logic:iterate>

Thanks
Rajiv


_________________________________________________________________
Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail


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

Reply via email to