Uploaded image for project: 'Shale'
  1. Shale
  2. SHALE-328

Clay is not recognizing the converterId attribute when using the generic f:converter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.4-SNAPSHOT
    • 1.0.4
    • Clay
    • None

    Description

      There are several way to associated a converter with a component that is a value holder. The converter can be defined as a top-level component where the component type corresponds to the converter-id. Or, the generic f:converter can be associated to a converter using the converterId attribute.

      Consider:

      <component jsfid="f:convertBoolean" componentType="javax.faces.Boolean"/>

      <component jsfid="testlabel1" extends="h:outputLabel">
      <attributes>
      <set name="value" value="true" />
      </attributes>
      <converter jsfid="f:convertBoolean"/>
      </component>

      This scenario doesn't work:

      <component jsfid="testlabel2" extends="h:outputLabel">
      <attributes>
      <set name="value" value="true" />
      </attributes>
      <converter jsfid="f:converter">
      <attributes>
      <set name="converterId" value="javax.faces.Boolean"/>
      </attributes>
      </converter>
      </component>

      Attachments

        Activity

          People

            gvanmatre@comcast.net Gary VanMatre
            gvanmatre@comcast.net Gary VanMatre
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: