Check: http://jakarta.apache.org/struts/userGuide/struts-html.html#text
It supports both readonly and disabled.
So try something like:
        <html:text property="myField" readonly="true" />
-jaafar

-----Original Message-----
From: lcl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 10:47 PM
To: [EMAIL PROTECTED]
Subject: readonly of text


Hi all,

In struts html tag , such as text ,there is not a readonly property, so How
can I set the readonly property of the text input control to "readonly" ,
for example, the output html will like this :
<input type=text name="textname" size="15" readonly>

Could you give me some advice? Thank you very much.

Best Regards
lcl




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

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

Reply via email to