Registering a Standard Converter on a Component Using a Standard Tag

To register a standard JSF converter on a component using a supplied tag:

  1. In the Visual Editor, select the component on which you want to register a standard converter.
  2. In the Component Palette, select JSF Core from the dropdown list, then click the standard converter of your choice (e.g., convertDateTime).
  3. In the Property Inspector, set the attributes for the converter. For information about the tag attributes, right-click the tag in the Palette and choose Help from the context menu.

Code sample

<h:inputText id="hiredate" value="#{employee.hireDate}">
  <f:convertDateTime dateStyle="full"/>
</h:inputText>    

About Standard JSF Converters
Registering a Standard Converter That Does Not Have a Supplied Tag
Registering a Custom Converter on a Component
Registering a Custom Converter Using a Value Binding Expression
Reference: Standard JSF Converter and Validator Tags