DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36756>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36756 Summary: taglib setter not found when having get, is and set method Product: Tomcat 5 Version: 5.0.28 Platform: All OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Jasper AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Hi, When I add extra attributes in java files, a get<Name>, is<Name> and set<Name>(String aValue), the setter can not be found. When I remove the is<Name>, everything works fine. Scenario: <custom:form readOnly="${readOnly}"> ... </custom:form> FormTag.java: public class FormTag extends TagBase { private String theReadOnly; public String getReadOnly() { return theReadOnly; } public boolean isReadOnly() { return StringUtils.isTrue(getReadOnly()); } public void setReadOnly(String aReadOnly) { theReadOnly = aReadOnly; } } This will not work. Removing the isReadOnly method makes everything work fine. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]