The following comment has been added to this issue:
Author: Felipe Leme
Created: Thu, 14 Oct 2004 9:30 PM
Body:
Dion: yes, it could use BeanComparator, although I initially mentioned commons for the
Map implementation that has an ordered set of keys
Hans: I think it should go to util, as core is more like an adaptation of JSTL tags
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/JELLY-157?page=comments#action_54133
---------------------------------------------------------------------
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: Thu, 14 Oct 2004 9:30 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]