ICEfaces
  1. ICEfaces
  2. ICE-9612

ace:column filterValue is in lowerCase

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0.BETA
    • Fix Version/s: None
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Windows, Jboss 5.1
    • Workaround Exists:
      Yes
    • Workaround Description:
      Polulate List<SelectItem> with SelectItem with all objects as lowercase Strings

      Description

      I have ace:dataTable with ace:column with filterOptions populated by List<SelectItem>, and I cannot select propery filter because in DataTableHeadRenderer.encodeFilter() method the
      Object filterVal = column.getFilterValue();
      came as lowercased String, and all comparisons itemVal.toString().equals(filterVal) are failing, so "selected" attribute never set to true.

      The actual lowercasing is happening in DataTableDecoder.decodeFilters() method:
      if (filteredColumn != null) filteredColumn.setFilterValue(params.get(filteredId).toLowerCase());

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Denis Utkin
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: