I believe you have to say disabled not disable

----- Original Message -----
From: "D M" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 1:30 PM
Subject: question about html:text tag


>     Hi, I don't know if this question has been already submitted. Heck, I
> don't even know if this list is active.
>
>     Anyways how do you use the html:text tag with the disabled/readonly
> property. I'm assuming the disabled would remove it from the user's view
and
> readonly will set it to be uneditable. However if I do this:
>
> ... (in some html:form)
> <html:text property="username" value="ddd" disable="true"/>
> ...
>
> I get this when going to that page:
>
> Parsing of JSP File '/addMessage.jsp' failed:
> ------------------------------------------------------------------------
> /addMessage.jsp(32): for tag 'text' handler type
> 'org.apache.struts.taglib.html.TextTag' has no property 'disable'
> probably occurred due to an error in /addMessage.jsp line 32:
> <td><html:text property="username" value="ddd" disable="true"/></td>
>
> if I try this line instead (same as above minus quotes):
> ... (in some html:form)
> <html:text property="username" value="ddd" disable=true/>
> ...
>
> then the html:text tag doesn't transform into regular html. So if I view
> source, I see the same line (<html:text property="username" value="ddd"
> disable=true/>). Same goes with readonly. Anyways I'm baffled if anyone
has
> any ideas, I'll appreciate it. Can you reply directly to me also. Thanks.
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>

Reply via email to