Well thanks to everyone that sent me a reply. Apparently I needed to use 
'disabled' instead and my tld's in my build dir were outdated so didn't have 
that attribute defined anyway. But it works now thanks to all of you.

--Davin


>From: Peter Alfors <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: Re: question about html:text tag
>Date: Thu, 19 Jul 2001 15:34:36 -0500
>
>try disabled instead of disable
>
>You can check the TLD for which attributes are valid for a given tag.
>
>HTH,
>     Pete
>
>D M wrote:
>
> >     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
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Reply via email to