[
https://issues.apache.org/jira/browse/MYFACES-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806236#action_12806236
]
Bernd Bohmann commented on MYFACES-2516:
----------------------------------------
Have you try it?
I get a
java.lang.NullPointerException
at
org.apache.myfaces.view.facelets.tag.jsf.core.EventHandler.apply(EventHandler.java:114)
at
javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:51)
at
org.apache.myfaces.view.facelets.tag.jsf.core.ViewMetadataHandler.apply(ViewMetadataHandler.java:69)
at
org.apache.myfaces.view.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:57)
at
org.apache.myfaces.view.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:45)
at
org.apache.myfaces.view.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:103)
at
org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage$FaceletViewMetadata.createMetadataView(FaceletViewDeclarationLanguage.java:1854)
at
org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:148)
at
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:138)
Once again
You can not get the UIViewRoot from the parent in ComponentSupport.
The metadata facet of UIViewRoot is set after nextHandler.apply in
ViewMetadataHandler because ComponentHandler.isNew() should return true in
EventHandler.
> Allow any child for f:event in the case of a PreRenderViewEvent
> ---------------------------------------------------------------
>
> Key: MYFACES-2516
> URL: https://issues.apache.org/jira/browse/MYFACES-2516
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Reporter: Bernd Bohmann
> Assignee: Leonardo Uribe
> Attachments: MYFACES-2516.patch
>
>
> f:event currently only supports the UIViewRoot as a child for the
> PreRenderViewEvent
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.