You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Volodymyr Siedlecki (Jira)" <de...@myfaces.apache.org> on 2024/01/23 19:15:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17810076#comment-17810076 ] 

Volodymyr Siedlecki commented on MYFACES-4642:
----------------------------------------------

Removed the fixed version since no fixes were merged, but I'll keep this issue open

> 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
>            Priority: Major
>         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)