[
https://issues.apache.org/jira/browse/MYFACES-2399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777215#action_12777215
]
Leonardo Uribe commented on MYFACES-2399:
-----------------------------------------
Look the code on FacesContextImpl.setViewRoot(). This method is the one that
calls clear() and trigger the event publishing. I don't see a valid case why
store a UIViewRoot in a managed bean. I think we can assume clear method is
only called from FacesContextImpl.setViewRoot().
> 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.