[ http://jira.codehaus.org/browse/XDP-184?page=comments#action_76813 ] Christoph Kutzinski commented on XDP-184: -----------------------------------------
I have still an issue with inherited attributes. It seems that only the jsp.attributes of the superclass will be considered, when a property is overwritten. E.g. I have a Tag: public class TagIfExpression extends TagIfCompare { /** * @jsp.attribute * required="false" */ public void setRelation( String rel ) throws JspException { super.setRelation( rel ); } } and the superclass Tag: public class TagIfCompare extends TagIfBase { private int relation; /** * @jsp.attribute * required="true" */ public void setRelation( String sRelation ) throws JspException { sRelation = sRelation.trim(); if (sRelation.equals( "<" )) { relation = LESS; } ... } } XDoclet will generate relation as a required attribute for TagIfExpression: <attribute> <name>relation</name> <required>true</required> <rtexprvalue>false</rtexprvalue> </attribute> > Add possibility to generate TLD inherited attributes > ---------------------------------------------------- > > Key: XDP-184 > URL: http://jira.codehaus.org/browse/XDP-184 > Project: XDoclet 2 Plugins > Issue Type: Improvement > Components: web > Affects Versions: 1.0.3 > Environment: Win XP PRO, DELL P4, SweetDEV-Studio > Reporter: Ulrich Vachon > Assigned To: Konstantin Pribluda > Priority: Blocker > Fix For: 1.0.4 > > Attachments: TaglibPlugin.java > > > Refactor the "public Collection getAttributeMethods(JavaClass clazz);" method > to manage the inherited attributes of any tags. The previous method runs the > "private Collection getAllAttributeMethods(JavaClass clazz, Collection > attributeMethods);" method which parse recursively the hierarchy of tags > until object. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ xdoclet-plugins-interest mailing list xdoclet-plugins-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest