Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.1.9
-
None
-
None
Description
If multiple converters of the same class are defined, the behaviour is as is defined by the last converter defined.
Assume:
A class org.company.jsf.converter.CalendarConverter implements Converter.
Supports a field pattern of type java.lang.String
faces-config defines several converter-id's using the same class passing different patterns. This way a single converter ID can be used to indicate how a calendar field should be displayed. The alternative would be to either create different subclasses, or, create tag(s), or, pass f:attribute with each field.