Hi! As first step you should upgrade to extcdi-1.0.1 which got released 2 months ago. This is the last stable version. 0.9.5 was one of our very first public packages and we fixed a _lot_ issues since then.
LieGrue, strub ----- Original Message ----- > From: lindberg <[email protected]> > To: [email protected] > Cc: > Sent: Friday, November 4, 2011 8:09 PM > Subject: Re: @ViewAccessScoped does not work! > > > 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. >
