You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jaisankar <js...@xtra.co.nz> on 2002/12/04 17:17:10 UTC
readonly property in html:text tag not working
Hi,
In my .jsp page, I have the following code.
<td align="left">
<html:text property="id" size="6" maxlength="6" readonly="true"/>
</td>
I'm getting "Unable to find setter method for attribute: readonly" while compiling that .jsp file.
Looking for help.
regards
Jai
RE: readonly property in html:text tag not working
Posted by Richard Doust <rd...@comcast.net>.
There's an attribute called "disabled" that makes it impossible for the user
to modify the field's value if set to true. Maybe that would suit your
purposes?
-----Original Message-----
From: Jaisankar [mailto:jsankar@xtra.co.nz]
Sent: Wednesday, December 04, 2002 11:17 AM
To: struts-user@jakarta.apache.org
Subject: readonly property in html:text tag not working
Hi,
In my .jsp page, I have the following code.
<td align="left">
<html:text property="id" size="6" maxlength="6"
readonly="true"/>
</td>
I'm getting "Unable to find setter method for attribute: readonly" while
compiling that .jsp file.
Looking for help.
regards
Jai
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>