[ https://issues.apache.org/jira/browse/MYFACES-2399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777191#action_12777191 ]
Jakob Korherr commented on MYFACES-2399: ---------------------------------------- But can we be sure that we get the right UIViewRoot instance with this way? What if someone stored a reference to another UIViewRoot in a managed bean and than calls getViewMap().clear()? In such a scenario we would provide a wrong instance of UIViewRoot, ain't we? However, FacesContext.getCurrentInstance() can/could be used. > ManagedBeanResolver does not handle view scope > ---------------------------------------------- > > Key: MYFACES-2399 > URL: https://issues.apache.org/jira/browse/MYFACES-2399 > Project: MyFaces Core > Issue Type: Task > Components: JSR-314 > Affects Versions: 2.0.0-alpha > Reporter: Jakob Korherr > Attachments: view_scope.patch, view_scope_newest.patch > > > Testing the mojarra-example "custom-tag", I ran into the following Exception: > 06.11.2009 12:29:18 > org.apache.myfaces.el.unified.resolver.ManagedBeanResolver putInScope > SCHWERWIEGEND: Managed bean 'data' has illegal scope: view > The managed bean "data" is annotated with @ViewScoped, but the > ManagedBeanResolver does not know this scope. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.