previous | index | next

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: 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>

previous | index | next