[
https://issues.apache.org/jira/browse/MYFACES-3038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leonardo Uribe resolved MYFACES-3038.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.4-SNAPSHOT
Assignee: Leonardo Uribe
> MyFaces fails to recognize ViewDeclarationLanguageFactory when defined in
> META-INF/services -- throws IllegalStateException instead
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: MYFACES-3038
> URL: https://issues.apache.org/jira/browse/MYFACES-3038
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Affects Versions: 2.0.3
> Reporter: Michael Freedman
> Assignee: Leonardo Uribe
> Fix For: 2.0.4-SNAPSHOT
>
>
> Spec says a factory can be declared by including a META-INF/services file
> with the name of the javax.faces factory class (in this case
> java.faces.view.ViewDeclarationLanguageFactory ) with its contents containing
> a single line containing the name of the class that implements this factory.
> The MyFaces startup/read config code throws an IllegalStateException however
> in this case. Looks like the code wasn't updated to reflect the new 2.0
> Factory.
> Use case -- Portlet Bridge currently uses this methodology and hence doesn't
> run on MyFaces.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira