May you could try returning in the list the data as the user wants it to be 
sorted and displaying it the way it is now using a decorator ?

 
Have fun,
[EMAIL PROTECTED]
The Computing Froggy

----- Message d'origine ----
De : benn <[EMAIL PROTECTED]>
À : displaytag-user@lists.sourceforge.net
Envoyé le : Mercredi, 19 Mars 2008, 14h32mn 09s
Objet : Re: [displaytag-user] Column Comparator

ping - no-one has done this at all?  This is driving me crazy, trying to 
explain to the user that sorting the items as she wishes (naturally not 
ASCII) is not possible confuses the user and is costing me lots of free 
coffee and biscuits to calm her down!!

  Any help would be greatly, hugely and earth shatteringly appreciated!!

Cheers,

Neil

benn wrote:
> Hello,
>
>          Sorry to keep asking questions but I haev another!
>
>  I'm attempting to use a custom comparator as follows:
>
>    <display:column property="code" sortable="true"
>        titleKey="workitem.code" url="/viewWorkItem.html" paramId="id"
>        paramProperty="id"
>        comparator="de.mpicbg.db.common.comparator.AlphanumComparator" />
>
>  The comparator is based upon one from Dave Koelle 
> (http://www.davekoelle.com/alphanum.html) and is basically a natural 
> sorting for strings.  However the comparator is not being called (I 
> can tell from my logs) and is not being constructed either.  I've also 
> tried changing the comparator to receive Objects rather than Strings 
> but comapre is not being called.
>
>  Any hints as to what I'm doing wrong would be greatly appreciated :).
>
> Cheers,
>
> Neil
>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user






      
_____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. La boite email la plus appreciée au monde. 
http://mail.yahoo.fr
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to