Converters are singleton on class instead of Id
-----------------------------------------------
Key: TOMAHAWK-1495
URL: https://issues.apache.org/jira/browse/TOMAHAWK-1495
Project: MyFaces Tomahawk
Issue Type: Bug
Components: Converters
Affects Versions: 1.1.9
Reporter: David Tarr
Priority: Minor
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.