You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Carsten Dimmek (Jira)" <de...@myfaces.apache.org> on 2023/11/23 10:09:00 UTC

[jira] [Created] (MYFACES-4642) ViewScope doesn't work in non CDI environment

Carsten Dimmek created MYFACES-4642:
---------------------------------------

             Summary: ViewScope doesn't work in non CDI environment
                 Key: MYFACES-4642
                 URL: https://issues.apache.org/jira/browse/MYFACES-4642
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 4.0.1
            Reporter: Carsten Dimmek
         Attachments: demo.zip

We use Spring Boot with Joinfaces and Myfaces. I noticed that the ViewScope is not working properly. The controller is re-instantiated with every Ajax request on the page. I have tried to analyze the problem and suspect it is because no viewScopeId is created in org.apache.myfaces.view.ViewScopeProxyMap for the non-CDI case. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)