bouncingHippo
bouncingHippo

Reputation: 6040

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?

Upvotes: 2

Views: 8877

Answers (1)

bouncingHippo
bouncingHippo

Reputation: 6040

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

Upvotes: 4

Related Questions