> Hi folks,
> 
> I do have a sorting problem on decorated values.
> 
> This is my column code: http://www.pastie.org/621630
> 
> As you can see, I have a column body with a switch and fmt tags. More
> over, I want the text to be trimmed.
> The sorting happens on the column body but it is done on the undecorated
> value which contains a lot of whitespace which falsifies the sorting order.
> 
> The decoration is done when the entire table model including sorting is
> finished/done.
> 
> Is there any way I can manipulate this behavior? => decorating first
> As far as I can see: no. I checked the configs and the DisplayTag code.

I found a solution with which I am not completely satisfied but better than 
workarounds: 

http://www.pastie.org/621669 and add this to your displaytag.properties as 
default comparator.

Mike
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to