hello
I very much like the new comparator attribute to the listtag. The only problem with it 
is that you can't pass args to it. I made a little hack to the ListSorter class (see 
atachement). It checks if the Comparator class has an 'init' method that allows a  
PageContext object. if so, it passes the pageContext to it. the init method can then 
preconfigure the Comparator. 
I don't suppose this is the best way to do this or that this hack should go into 
mmbase. But i think something must be done about it.

Ernst

Attachment: ListSorter.java
Description: ListSorter.java

Reply via email to