Registering a Standard Converter That Does Not Have a Supplied Tag

To register a standard JSF converter that does not have its own tag:

  1. In the Visual Editor, select the component on which you wish to register a standard converter.
  2. In the Property Inspector, click the column next to the converter property, then enter the identifier (ID) of the standard converter or its fully qualified class name (e.g., javax.faces.Integer or javax.faces.convert.IntegerConverter).

Note: Alternatively, you can nest a f:converter tag within a component, and use the converterID attribute to refer to the converter's registered identifier.

Code sample 1

<h:inputText id="age" converter="javax.faces.Integer" />     

Code sample 2

<h:inputText id="age" ...>
  <f:converter converterID="javax.faces.Integer" />
</h:inputText>     

About Standard JSF Converters
Registering a Standard Converter on a Component Using a Standard Tag
Registering a Custom Converter on a Component
Registering a Custom Converter Using a Value Binding Expression