You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by co...@jakarta.apache.org on 2004/10/14 05:51:51 UTC

[jira] Commented: (JELLY-157) New tag that generates sorted collection

The following comment has been added to this issue:

     Author: dion gillard
    Created: Wed, 13 Oct 2004 8:50 PM
       Body:
So this would just use BeanComparator from BeanUtils?
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JELLY-157?page=comments#action_54023

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JELLY-157

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JELLY-157
    Summary: New tag that generates sorted collection
       Type: New Feature

     Status: Unassigned
   Priority: Minor

    Project: jelly
 Components: 
             taglib.util
   Versions:
             1.0

   Assignee: 
   Reporter: Felipe Leme

    Created: Wed, 13 Oct 2004 6:40 AM
    Updated: Wed, 13 Oct 2004 8:50 PM

Description:
A cool tag would be one that takes one collection (or map) and returns a new collection/map, sorted by a given property (on each of the collection's elements).

This tag could be used, for instance, on Maven's multiproject plugin to generate a sorted report of sub-projects:

<util:sort var="multiprojectsSortedByName" items="${multiprojects}" sortingProperty="name"/>

Such tag shouldn't be hard to implement, but I haven't the time to do the full job right now (i.e., writing the tag, test cases, documentation, etc...), but I can give it a shot in the near future, if there is enough interested on such feature (in other words, if someone is willing to commit the changes :-).


-- Felipe



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org