Hello,

          Just to remind anyone what my issue is, I'm trying to set a 
custom comparator on a column using displaytag 1.1.1 (I have also tried 
with 1.1).  My snippet of jsp is:

    <display:column class="code" property="code" sortable="true"
        titleKey="workitem.code" url="/viewWorkItem.html" paramId="id"
        paramProperty="id"
        sortProperty="code"
        comparator="de.mpicbg.db.common.comparator.AlphanumComparator" />

  However the custom comparator is not being instantiated, so I did some 
digging around and got hodl of the sources for displaytag and added a 
log method to setComparator as so:

    /**
     * Set the comparator, classname or object.
     * @param comparatorObj the comparator, classname or object
     */
    public void setComparator(Object comparatorObj)
    {
        log.debug(this.title + " : setComparator " + comparatorObj);

  It seems that this method is not being called either, I checked to see 
if my logger is wokring by firstly checking the log messages coming from 
displaytag that were already there and also adding my own log messages 
to seSortProperty and the bit which sets the HeaderCells' comparator and 
indeed my log messages come up.  I'm starting to get pretty stuck now - 
I dunno if any of the project devs hang around on this list but could 
you give me some pointers please?

Cheers,

Neil


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to