I have a strange sorting issue that i was wondering if anyone has an
idea what would case the problem.

I have the following code for one of my columns

<display:column title="Description" headerClass="Table_Col_Header"
sortable="true" style="{text-align: left}">
<% String description = (((com.mitel.me.model.Domain)
pageContext.getAttribute("tableId")).getDescription()); %>
<%=description%>
</display:column>

I have omitted other code that does some calculations on the
description etc, since it doesn't seem to be what is causing me the
problem (ie, due to this other code that is required I can't simply
use property="description in the column tag)

If i have a list with the following descriptions
aaaa
bbbb
CCCC
dddd
eeee
FFFF

and i sort, i get the following.
CCCC
FFFF
aaaa
bbbb
dddd
eeee

It seems to sort descriptions that start with a capital letter first
and then sort descriptions with lower case afterwards.  Does anyone
have an idea why this would be?  This isn't the case if i simply use
property="description", which I can't use since i need some extra
logic to change the description in the jsp.

Any ideas?

Thanks.

Jon

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to