Hi,

I would like you to consider adding custom comparators to the sorting
facility. Currently, RowSorter class provides only basic "compareTo" over
strings.

I have developed the usage of user-provided comparators

<display:table name="test" defaultsort="1"
comparator="com.somedomain.collections.MyComparator">

adding aditional tag "comparator" to the table tag. Comparator paramater
represents, as obvious, fully-qualified class name and is initialized in the
sorting layer with reflection. It is a simple coding but, if requested, I
will be happy to post it.

Regards,
Dejan



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to