You can use <fmt:formatDate> in the body element of a tag and then use the "sortProperty" attribute to specify a java.util.Date.

Matt

On May 15, 2005, at 12:14 PM, Raynil S. Karkera[NG] wrote:

Hello!

How do I get around the problem of string based sorting of date properties in displaytag. Date sorting does
not work, is there a way to sort date fields based on the� underlying type "java.util.Date"? Do I have
to re-query the date column from the database in a date decorator?

Please help me with a work around.

Thanks
/Ray



------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12&alloc_id344&op=click _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to