Undesired dependency on ApplicationImpl in FacesConfigurator
------------------------------------------------------------
Key: MYFACES-211
URL: http://issues.apache.org/jira/browse/MYFACES-211
Project: MyFaces
Type: Bug
Reporter: Manfred Geiler
Originally reported by Walter Snel:
You recent additions related to the configurability of Converters created a
dependency on a particular Application implementation in the FacesConfigurator.
I noticed this because I'm using a custom ApplicationFactory that returns a
custom Facade (with augmentations) to the ApplicationImpl class.
In this case the FacesConfigurator doesn't call the addConverterConfiguration.
This, later on, leads to horrible nullpointer exceptions when any of standard
converters are used. Perhaps you could consider using relfection instead of the
current 'instanceof' mechanism to find out if the addConverterConfiguration()
method is supported ?
With kind regards,
Walter Snel
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira