Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.0 RC2
    • Fix Version/s: None
    • Component/s: Paging/Sorting
    • Labels:
      None
    • Application server:
      tomcat 4

      Description

      If on of the columns I'm trying to display refers to a Date property of my object, it can not be sorted correctly. I think this is because displaytag relies on the String value of the property. So my dates are not sorted as Date objects, and "Mon Nov 22 20:54:07", "Tue Nov 23 10:48:20 CET 2004" obviously don't result in a correct sorting.

      Also, about decorators and sorting, if I may add my opinion, I think that the default behaviour of displaytag should be to sort on the reel value of the property, not its decorated value (Please see my comments on DISPL-58)

      What do you think?

        Activity

        Hide
        Grégory Joseph (old account) added a comment -
        Nevermind that, it actually works.
        (But I'm still expecting comments for the decoration+sorting issue ;))
        Show
        Grégory Joseph (old account) added a comment - Nevermind that, it actually works. (But I'm still expecting comments for the decoration+sorting issue ;))

          People

          • Reporter:
            Grégory Joseph (old account)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: