From: JBUM (JIRA) <ji...@co...> - 2008-12-18 19:37:27
|
[ http://jira.codehaus.org/browse/XDP-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158622#action_158622 ] JBUM commented on XDP-239: -------------------------- Gregory, I tend to agree that we should also preserve the inheritance order for people who'd like to see them that way. Could we possibly have a flag (perhaps something called "sort") on the <component> element of the ant task for TaglibPlugin? By default we can do what's there out of the box. If sort="true", we can sort the attributes. The reason why I wanted this is because we produce TLD Docs out of our TLDs and it's very hard to constantly search for attributes when they are in random order. I will attach a patch for my changes (my first time trying this with SVN). > 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 > > 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 |