ICEfaces
  1. ICEfaces
  2. ICE-1684

Converter not called when used in DataTable column header

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.6.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      any

      Description

      Converters aren't called on outputText components placed in a DataTable column header
      1. ICE-1684.jpg
        128 kB

        Activity

        Hide
        yip.ng added a comment -

        According to the JavaServer Faces API Documentation for the class javax.faces.component.UIOutput, a converter will be called only if the value the component is bound to is not already a String.

        I have written a test web app and found that the converter has indeed been created and registered. However, it is not supposed to be called when the output value is already a String. It will be called when the output value is some other type of object, e.g. Integer.

        See the attached screen-shot for the test results. A war file and a src zip file are also attached.

        Show
        yip.ng added a comment - According to the JavaServer Faces API Documentation for the class javax.faces.component.UIOutput, a converter will be called only if the value the component is bound to is not already a String. I have written a test web app and found that the converter has indeed been created and registered. However, it is not supposed to be called when the output value is already a String. It will be called when the output value is some other type of object, e.g. Integer. See the attached screen-shot for the test results. A war file and a src zip file are also attached.

          People

          • Assignee:
            Unassigned
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: