commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Commented: (JELLY-157) New tag that generates sorted collection
Date Fri, 15 Oct 2004 03:35:52 GMT
The following comment has been added to this issue:

     Author: Hans Gilde
    Created: Thu, 14 Oct 2004 8:35 PM
I can do this one, should it go in util or core?
View this comment:

View the issue:

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

   Reporter: Felipe Leme

    Created: Wed, 13 Oct 2004 6:40 AM
    Updated: Thu, 14 Oct 2004 8:35 PM

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

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message