You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org> on 2009/11/09 21:44:32 UTC

[jira] Commented: (MYFACES-2399) ManagedBeanResolver does not handle view scope

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

Jakob Korherr commented on MYFACES-2399:
----------------------------------------

I just realized that we also have to implement the reference checking mechanism (a bean cannot reference an object with a potentially shorter lifetime) for the view scope. I will provide a patch for that soon.

> 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
>
>
> 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.