From: Grégory J. (J. <ji...@co...> - 2008-12-18 22:52:55
|
[ http://jira.codehaus.org/browse/XDP-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158648#action_158648 ] Grégory Joseph commented on XDP-239: ------------------------------------ JBUM, they're not (or should not be) in random order, but in the order in which they're parsed in the code. In the same spirit as "tag your code to document or generate artifacts out of it", the order in which attributes are declared in your classes (c/sh)ould be meaningful. Inheritance breaks that, unfortunately. > 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 |