Search code examples
javahtmlcssstruts

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?


Solution

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