Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D1C895E9 for ; Fri, 4 Nov 2011 19:10:23 +0000 (UTC) Received: (qmail 54138 invoked by uid 500); 4 Nov 2011 19:10:22 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 54088 invoked by uid 500); 4 Nov 2011 19:10:22 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 54081 invoked by uid 99); 4 Nov 2011 19:10:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2011 19:10:22 +0000 X-ASF-Spam-Status: No, hits=1.2 required=5.0 tests=FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2011 19:10:17 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RMP9J-0006FC-97 for dev@myfaces.apache.org; Fri, 04 Nov 2011 12:09:57 -0700 Message-ID: <32782676.post@talk.nabble.com> Date: Fri, 4 Nov 2011 12:09:57 -0700 (PDT) From: lindberg To: dev@myfaces.apache.org Subject: Re: @ViewAccessScoped does not work! In-Reply-To: <32782652.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: grebdnnil@hotmail.com References: <32782652.post@talk.nabble.com> I am using myfaces-extcdi-dist-jsf2 version 0 0.9.5 primefaces version 2.2.1 lindberg wrote: > > I have a bean 'X' annotated with @ViewAccessScoped but this scope does not > work. When i access the view 'A' that uses the bean X and does change to > view 'B' that uses the bean 'X' too, i lose the bean state. How can i > solve this problem? Below my configuration: > > config implementation: > org.apache.myfaces.extensions.cdi.jsf.api.config.JsfModuleConfig > method: isUseViewConfigsAsNavigationCasesEnabled > value: true > > method: isAlwaysKeepMessages > value: true > > method: isInitialRedirectEnabled > value: true > > method: isInvalidValueAwareMessageInterpolatorEnabled > value: true > > config implementation: > org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.WindowContextConfig > method: isUrlParameterSupported > value: true > > method: isUnknownWindowIdsAllowed > value: false > > method: isAddWindowIdToActionUrlsEnabled > value: false > > method: getWindowContextTimeoutInMinutes > value: 60 > > method: getMaxWindowContextCount > value: 64 > > method: isCloseEmptyWindowContextsEnabled > value: false > > method: isEagerWindowContextDetectionEnabled > value: true > > method: isCreateWindowContextEventEnabled > value: false > > method: isCloseWindowContextEventEnabled > value: false > > config implementation: > org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.ConversationConfig > method: isScopeBeanEventEnabled > value: false > > method: isAccessBeanEventEnabled > value: false > > method: isUnscopeBeanEventEnabled > value: false > > method: getConversationTimeoutInMinutes > value: 30 > > method: isStartConversationEventEnabled > value: false > > method: isCloseConversationEventEnabled > value: false > > method: isRestartConversationEventEnabled > value: false > > method: isConversationRequiredEnabled > value: true > > MessageContextConfig class: > org.apache.myfaces.extensions.cdi.message.impl.DefaultMessageContextConfig > MessageInterpolator class: class > org.apache.myfaces.extensions.cdi.jsf.impl.message.FacesMessageInterpolator > MessageResolver class: class > org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareApplicationMessagesMessageResolver > MessageHandler class: class > org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareMessageHandler > LocaleResolver class: class > org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareLocaleResolver > FormatterFactory class: class > org.apache.myfaces.extensions.cdi.message.impl.DefaultFormatterFactory > > 16:56:05,234 INFO > [org.apache.myfaces.extensions.cdi.jsf2.impl.Jsf2ModuleStartupObserver] > [Started] MyFaces CODI JSF-Module v0.9.5 for JSF 2.0 > Used JSF implementation: Mojarra v2.0.3- > > config implementation: > org.apache.myfaces.extensions.cdi.jsf.api.config.JsfModuleConfig > method: isUseViewConfigsAsNavigationCasesEnabled > value: true > > method: isAlwaysKeepMessages > value: true > > method: isInitialRedirectEnabled > value: true > > method: isInvalidValueAwareMessageInterpolatorEnabled > value: true > > config implementation: > org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.WindowContextConfig > method: isUrlParameterSupported > value: true > > method: isUnknownWindowIdsAllowed > value: false > > method: isAddWindowIdToActionUrlsEnabled > value: false > > method: getWindowContextTimeoutInMinutes > value: 60 > > method: getMaxWindowContextCount > value: 64 > > method: isCloseEmptyWindowContextsEnabled > value: false > > method: isEagerWindowContextDetectionEnabled > value: true > > method: isCreateWindowContextEventEnabled > value: false > > method: isCloseWindowContextEventEnabled > value: false > > config implementation: > org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.ConversationConfig > method: isScopeBeanEventEnabled > value: false > > method: isAccessBeanEventEnabled > value: false > > method: isUnscopeBeanEventEnabled > value: false > > method: getConversationTimeoutInMinutes > value: 30 > > method: isStartConversationEventEnabled > value: false > > method: isCloseConversationEventEnabled > value: false > > method: isRestartConversationEventEnabled > value: false > > method: isConversationRequiredEnabled > value: true > > MessageContextConfig class: > org.apache.myfaces.extensions.cdi.message.impl.DefaultMessageContextConfig > MessageInterpolator class: class > org.apache.myfaces.extensions.cdi.jsf.impl.message.FacesMessageInterpolator > MessageResolver class: class > org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareApplicationMessagesMessageResolver > MessageHandler class: class > org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareMessageHandler > LocaleResolver class: class > org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareLocaleResolver > FormatterFactory class: class > org.apache.myfaces.extensions.cdi.message.impl.DefaultFormatterFactory > > 16:56:05,234 INFO > [org.apache.myfaces.extensions.cdi.jpa.impl.JpaModuleStartupObserver] > [Started] MyFaces CODI JPA-Module v0.9.5 > > 16:56:05,250 INFO > [org.apache.myfaces.extensions.cdi.core.impl.CoreStartupObserver] > [Started] MyFaces CODI (Extensions CDI) Core v0.9.5 > Used CDI implementation: Weld v6.0.0.Final > > project-stage: Production > project-stage class: > org.apache.myfaces.extensions.cdi.core.api.projectstage.ProjectStage$Production > > application-parameters: > name: com.sun.faces.duplicateJARPattern > value: ^tmp\d+(\S*\.jar) > > name: resteasy.injector.factory > value: org.jboss.resteasy.cdi.CdiInjectorFactory > > name: com.sun.faces.injectionProvider > value: > org.jboss.web.jsf.integration.injection.JBossDelegatingInjectionProvider > > name: resteasy.unwrapped.exceptions > value: javax.ejb.EJBException > > config implementation: > org.apache.myfaces.extensions.cdi.core.api.config.CodiCoreConfig > method: isConfigurationLoggingEnabled > value: true > > method: isAdvancedQualifierRequiredForDependencyInjection > value: true > > method: isInvalidBeanCreationEventEnabled > value: false > -- View this message in context: http://old.nabble.com/%40ViewAccessScoped-does-not-work%21-tp32782652p32782676.html Sent from the My Faces - Dev mailing list archive at Nabble.com.