Thanks Bill,

But that is exactly what was causing the error in the first place. All the
other variations have been an attempt to get it to work. What I wanted to
know is anybody else having problems with this.

To provide more contextual info, the disabled property works fine with the
standard html:text tag. Is it me, jrun or the tags that are at playing up.

Z.

> Zoran Avtarovski wrote:
> Maybe I am missing something but is there some reason that you can't use:
> 
> <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %>
> 
> <html:text property="scheduleId" disabled="true"/>
> 
> -Bill Siggelkow
> 
>> Hi all,
>> 
>> I'm building my first webapp using srtuts-el and I've come across a strange
>> error. When creating a form using the <html:text> tag  and I set the
>> disabled parameter to true as follows:
>> 
>> <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %>
>> 
>> <html:text property="scheduleId" disabled="{true}"/>
>> 
>> I get the following error from jrun4:
>> 
>> 
>>  jrunx.compiler.DefaultCFE: Compiler errors:
>> Found 1 semantic error compiling
>> "/Applications/JRun4/servers/Vision/WebRoot/WEB-INF/jsp/jrun__admin__formSch
>> eduleInc2ejsp1a.java":
>> 
>>     53. _tag0.setDisabled(__constantTable.getString(1));
>>         ^---------------------------------------------^
>> *** Semantic Error: No applicable overload for the method named
>> "setDisabled" was found in type
>> "org.apache.struts.taglib.html.BaseHandlerTag". Perhaps you wanted the
>> overloaded version "void setDisabled(boolean $1);" instead?
>> 
>>  Is a a Jrun specific problem and if so is there a work-around or I am I
>> missing something obvious?
>> 
>> Z.
> 



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

Reply via email to