Affects Version/s: 1.2
Fix Version/s: None
Operating System: All
In other to follow the principle of least astonishment, I think
javax.faces.convert.DateTimeConverter should be pre-configured to work with
java.util.Date in jsf-ri-runtime.xml (It is already configured that way for
Long, BigDecimal, Enum, Float, Double, and so on). Why not have it working
correctly by default for java.util.Date too?.
Please make it mandatory to add in JSF default configuration:
I think this issue is very important, specially because with the introduction of
WebBeans (or Jboss Seam) people will expects ui controls (like h:inputText)
bound to java.util.Date properties to "just work" instead of presenting an error
Conversion Error setting value '01/01/2001' for 'null Converter'.