[
https://issues.apache.org/jira/browse/TRINIDAD-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14071831#comment-14071831
]
Igor Guimaraes commented on TRINIDAD-2252:
------------------------------------------
I need to confirm that version (2.1.1) is compatible with the implementation of
MyFaces 2.0.2.
I use WebSphere, then the JSF is built into the server, and when I upgrade to
the version of the Trunk, I get this error:
[Servlet Error] -
[com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor]:
java.lang.NoSuchMethodError: javax / faces / view /
ViewDeclarationLanguage.getId () Ljava / lang / String;
at
org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.getId(ViewDeclarationLanguageWrapper.java:119)
at
org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper._isFacelets(ViewDeclarationLanguageFactoryImpl.java:345)
at
org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:334)
at org.apache.myfaces.application.ViewHandlerImpl.renderView
(ViewHandlerImpl.java: 264)
at javax.faces.application.ViewHandlerWrapper.renderView
(ViewHandlerWrapper.java: 59)
The class that implements / wrapper is defined in
org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage
> ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper does not override
> non-abstract retargetMethodExpressions() causing composite component actions
> not to fire
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TRINIDAD-2252
> URL: https://issues.apache.org/jira/browse/TRINIDAD-2252
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Facelets
> Affects Versions: 2.0.0-core
> Reporter: Max Starets
> Assignee: Max Starets
> Fix For: 2.0.2-core, 2.1.0-core
>
> Attachments: trinidad-2252.patch
>
>
> ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper shoudl be
> overriding (and delegating to the wrapped object) retargetMethodExpressions()
> and retargetMethodExpressions(). Note that viewExists() and getId() shoudl be
> added too, but that is not feasible until we start building with JSF 2.1.
> Once we move to JSF 2.2, we should start using ViewDeclarationLanguageWrapper
> from JSF API
--
This message was sent by Atlassian JIRA
(v6.2#6252)