OK, I had a good look at the source and it should be working. Can somebody
please explain to me why this isn't doing what it's supposed to do?
I hate the fact that I have to use the html tags when I've been able to use
EL for everything else.
Zoran
> 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]