ICEfaces
  1. ICEfaces
  2. ICE-9514

ace:column - filterBy does not filter for time values

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: EE-3.3.0.GA
    • Fix Version/s: None
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All
    • Salesforce Case Reference:
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      This can be worked around by altering the toString representation of the Date object in the column to match the expected output format. Use a wrapper class similar to:

      class DateWrapper extends Date {
      Date d;
      public DateWrapper(Date d) { this.d = d; }
      ...
      public toString() { return getMyDateConverter().toString(d); }
      }

      Where getMyDateConverter().toString(Date) is implemented to produce a string formatted identically to the output in your column.
      Show
      This can be worked around by altering the toString representation of the Date object in the column to match the expected output format. Use a wrapper class similar to: class DateWrapper extends Date { Date d; public DateWrapper(Date d) { this.d = d; } ... public toString() { return getMyDateConverter().toString(d); } } Where getMyDateConverter().toString(Date) is implemented to produce a string formatted identically to the output in your column.

      Description

      A column in an ace:dataTable displays dates in the "dd.MM.yyyy HH:mm:ss" format. When attempting to filter on the time values, no results are returned. When filtering for the date, month, and year values this works without any issues.

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Arran Mccullough
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: