Issue Details (XML | Word | Printable)

Key: SHALE-328
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Gary VanMatre
Reporter: Gary VanMatre
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Shale

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

Created: 08/Nov/06 07:02 PM   Updated: 23/Jan/07 04:40 PM
Return to search
Component/s: Clay
Affects Version/s: 1.0.4-SNAPSHOT
Fix Version/s: 1.0.4


 Description  « Hide
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>

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Gary VanMatre added a comment - 08/Nov/06 07:14 PM
This bug was reported by Torsten Krah. Thanks for the help.