I notice that the JSF-RI disallows custom String (and Object) converters.
Inside the private method UIInput.getConverterWithType(FacesContext context),
// if converterType is null, String, or Object, assume no
conversion is needed
I don't see anything mentioned in the spec or javadocs that requires
this restriction.
Does this limitation have to followed in all JSF-compliant
implementations? (I originally brought this up on the MyFaces dev
list, but was told that Myfaces had to follow the JSF-RI behavior for
compatibility.)
My use case is that I would like to create a java.lang.String
converter that automatically converts all empty strings to null.
Thanks!
-Mike Kienenberger