I have created a custom converter for converting from and to org.joda.time.LocalDate for primefaces calendar component. Unfortunately my converter will never be invoked (annotated like below) or even when I try to register my converter in faces-config(for that I've removed all annotations from the custom converter). Instead I get an Exception that java.util.Date cannot be converted to LocalDate.
I don't want to configure the converter as a tag attribute. Instead the converter should be automatically fetched and used for conversion to and from LocalDate.
@FacesConverter(forClass=LocalDate.class)
public LocalDateConverter implements Converter {...}
Thanks in advance
Update:
Here I found the answer why Primefaces calendar does not support converter with forClass.