JSF Converter IDs and the f:converter Tag
Built-in JSF converters have names of the form javax.faces.converter.TYPE where
TYPE is one of:
- DateTime
- Number
- Boolean, Byte, Character, Double, Float, Integer, Long, Short
- BigDecimal, BigInteger
The following are all equivalent:
<h:outputText value="#{payment.date}" converter="javax.faces.converter.DateTime"/>
<h:outputText value="#{payment.date}">
<f:convertDateTime/>
</h:outputText>
<h:outputText value="#{payment.date}">
<f:converter converterId="javax.faces.converter.DateTime"/>
</h:outputText>