[ 
https://issues.apache.org/jira/browse/MYFACES-4562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17688097#comment-17688097
 ] 

Volodymyr Siedlecki commented on MYFACES-4562:
----------------------------------------------

[~tandraschko]  

Would you be able to clarify the behavior here? Or see if there's a bug at all? 
I don't see any tests for this new scope any where (neither in our code nor the 
TCK). 

Thanks!

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