Zoran, The error says it wants a boolean but claims you gave it a string. I tested your syntax in my Tomcat 5.0.28 and it comes out as a String. I think you want to use ${true} for the boolean "true" instead of {true} which seems to return the String "true". If I'm wrong, hey, what's what I get for trying to learn JSTL syntax in 10 minutes in the wee hours of the morning (in my Timezone anyway). LOL.
Regards and good night, David -----Original Message----- From: Zoran Avtarovski [mailto:[EMAIL PROTECTED] Sent: Friday, September 24, 2004 3:44 AM To: Struts Users Mailing List Subject: Html-el disabled property error 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]