Hi,

I'm wondering if there is a way in display tag 1.1 to change the default comparator that gets used for sorting columns? The problem that I have is that we have quite a large number of display:tables in our application and each of them contains a lot of columns. In many cases these columns will contains character/number mixes like "PS123", "PS99", "PS4058" etc. There are a number of Comparators floating around that will break Strings into their textual and numeric chunks and then order them sensibly (anyone familiar with the Mac OS X Finder will be familiar with what I mean). My own implementation of one is at: http://jroller.com/page/tfenne? entry=humanestringcomparator_sorting_strings_for_people

What I'd really like to be able to do is have display tag use this comparator as it's default without having to go through an touch what is probably hundreds of JSPs at this point, each with 5-10 columns a piece that could do to be sorted with this comparator. Is there a way to do this?

Thanks,

-t


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to