Volodymyr Siedlecki created MYFACES-4562:
--------------------------------------------

             Summary: ClientWindowScoped Not Destroyed
                 Key: MYFACES-4562
                 URL: https://issues.apache.org/jira/browse/MYFACES-4562
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 4.0.0-RC4
            Reporter: Volodymyr Siedlecki


My understanding of ClientWindowScoped comes from BalusC's explanation here: 

[https://balusc.omnifaces.org/2021/11/whats-new-in-faces-40.html#ClientWindowScoped]
 

In summary, the ClientWindowScoped bean is created when the jfwid is created 
and "lives as long as this parameter is reused while navigating across the 
pages via Faces link components."

My question is: under what conditions should these scoped beans be destroyed 
then? My testing shows the URL is always appended with jfwid.  The only time  I 
see the beans destroyed is once the 10 clientWindow max limit is reached. 

Should they also be destroyed once a redirect occurs?  What about when 
disableClientWindow is used? 


{code:java}
 <h:link value="Disable client window" outcome="endClientWindowScoped" 
disableClientWindow="true"/> 
{code}

Any help is appreciated.



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

Reply via email to