bouncingHippo bouncingHippo - 1 year ago 151
CSS Question

making struts 1.0 textbox readonly

its really odd to find that when i start the server, the disabled attribute doesn't appear in my browser page.

<td class="label" width="20%"><bean:message key="mrBeanName" /></td>
<td width="30%"><td width="30%"><html:text property="mrbeanId" size="30" maxlength="16" disabled="disabled"/></td></td>

is there something i am missing, or is this the case for Struts 1.0?

Answer Source

Reading the API, it should be readonly="true" or disabled="true".

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download