From: JBUM (JIRA) <ji...@co...> - 2008-12-18 22:36:17
|
[ http://jira.codehaus.org/browse/XDP-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158650#action_158650 ] JBUM commented on XDP-239: -------------------------- Sorry about the confusion. I do not mean "random" but it "seemed" to be random at first before I realized it was in the inheritance order - current class first, then its immediate super class, then the next super class, etc. Yeah, there is no clear cut behavior that'll fit everyones use case. What I would really love to see is a separation of inherited attributes, similar to Javadocs, but that's not part of the TLD schema - just wishful thinking. Anyways, let me know what you guys decide. I'm currently using a modified version of the 1.0.4 version of the TaglibPlugin code that lists the attributes in alphabetical order (or at least in the context of Java Strings). It would be great if the next rev (1.0.5?) could have this built-in - configurable or not. Thanks! > Ability to order all taglib attributes in alphabetical order in generated TLD > ----------------------------------------------------------------------------- > > Key: XDP-239 > URL: http://jira.codehaus.org/browse/XDP-239 > Project: XDoclet 2 Plugins > Issue Type: Improvement > Components: web > Affects Versions: 1.0.4 > Environment: Unbuntu 8.04 and JBoss > Reporter: JBUM > Assignee: Konstantin Pribluda > Attachments: TaglibPlugin.java.patch > > > Currently, all the inherited attributes of a taglib get listed in the TLD just fine. However, the inherited ones come at the bottom of the attributes entries for a particular tag and not sorted along with the entire set. > It appears the plugin is using an Arraylist to add attributes and it displays them essentially in that order. > It would be nice to store them so that you retrieve them by alphabetical order of the attribute names. > It would make it much nicer to read the TLD and easier to search for things. Thanks! -- 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 |