[ 
https://issues.apache.org/jira/browse/MYFACES-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806206#action_12806206
 ] 

Bernd Bohmann edited comment on MYFACES-2516 at 1/29/10 4:13 AM:
-----------------------------------------------------------------

That is the reason why i don't apply the patch.

If f:event is a direct child of f:metadata you don't get the UIViewRoot from 
the parent or from the FacesContext.  

How we can get the ViewRoot in this case?


      was (Author: bommel):
    That is the reason why i don't apply the patch.
If f:event is not a direct child of UIViewRoot you don't get the UIViewRoot 
from the parent or the FacesContext. 
Should we file an issue agains the spec?

Without setting the ViewRoot you get a NullpointerException.
  
> 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.

Reply via email to