I have the same problem. The defaultorder="descending" property is not 
working...

/Simon


-----Ursprungligt meddelande-----
Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Savoy, Melinda
Skickat: den 18 februari 2008 15:14
Till: displaytag-user@lists.sourceforge.net
Ämne: Re: [displaytag-user] [displaytag-OpenDiscussion]PleaseHELP-question on 
SORTING

David, 

Exactly, what I did do was add the "sortProperty" to my column and that
fixed it. However, what I'm now seeing is that after my page loads
initially, I click my REQNUM column title and the page just reloads with
the ascending order but when I click it again then it sorts properly
thereafter.

Any suggestions on what may be causing that type of behavior?

Thanks again!! 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
David Pilato
Sent: Monday, February 18, 2008 8:09 AM
To: displaytag-user@lists.sourceforge.net
Subject: Re: [displaytag-user]
[displaytag-OpenDiscussion]PleaseHELP-question on SORTING

Ok. So you found the issue. 
But you didn't use the defaultsort and defaultorder, did you?
> <display:table sort="list" name="actionBean.results"
> decorator="org.texashealth.scm.displaytag.decorator.SCMTableDecorator"
> pagesize="50" requestURI="/reqs/Search.action" class="reqList">

To answer to previous question, yes you can sort other things than
String.
For example, I sort dates with displaytag even if dates are displayed
like DD/MM/YYYY.



------------------------------------------------------------------------
-
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




The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.

-------------------------------------------------------------------------
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



-------------------------------------------------------------------------
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