I wrote my first JSF (1.2) custom converter.
I declared it in faces-config.xml (converter-id
and converter-class
), wrote the Java class implementing getAsObject and getAsString methods.
Then i put the converter in a page like this:
<ice:selectInputDate id="ctldatanascita"
value="#{beanrichiestaabilitazione.datanascita}"
renderAsPopup="true">
<f:converter converterId="cisConverterDate" />
</ice:selectInputDate>
The class is istantiated, but the Converter interface methods are never called. What I'm missing?