You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/09/21 10:06:30 UTC
DO NOT REPLY [Bug 36756] New: -
taglib setter not found when having get, is and set method
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: keesvandieren@yahoo.com
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org