[ 
http://jira.codehaus.org/browse/DISPL-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=203424#action_203424
 ] 

Ralf Hauser commented on DISPL-203:
-----------------------------------

public String getYourDateSortable() {
                return String.valueOf(yourDate.getTime());
        }

should be a work-around - see also 
http://stevelibonati.wordpress.com/2008/08/26/display-tag-date-column-sorting/

> Date Sorting with Table Decorator
> ---------------------------------
>
>                 Key: DISPL-203
>                 URL: http://jira.codehaus.org/browse/DISPL-203
>             Project: DisplayTag
>          Issue Type: Bug
>          Components: Decorators
>    Affects Versions: 1.0
>            Reporter: Narayanan A
>             Fix For: TBD
>
>         Attachments: Decorator.txt, work-around.txt
>
>   Original Estimate: 1 minute
>  Remaining Estimate: 1 minute
>
> Hello,
> I have been using display tag with column decorators in my project, recently 
> there was case where we have to use the value in session to decide on the 
> decoration of a column, As column decorator isn't supporting PageContext as 
> of v1.0, i switched to Table decorator,everything works fine except sorting 
> of Date Object Columns. The same column sorting is working fine with "Column 
> Decorator". Date based sorting is very important in the existing 
> functionality and i would request you to kindly help me with this issue. 
> Please find the code snippet attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to