You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Andraschko (Jira)" <de...@myfaces.apache.org> on 2024/02/12 14:07:00 UTC

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

     [ https://issues.apache.org/jira/browse/MYFACES-4642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Andraschko resolved MYFACES-4642.
----------------------------------------
    Resolution: Fixed

> 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
>            Assignee: Thomas Andraschko
>            Priority: Major
>             Fix For: 5.0.0, 4.1.0-RC2, 4.0.3
>
>         Attachments: demo.zip, myfaces-viewmap.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)