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

Rene O commented on MYFACES-3159:
---------------------------------

thanks for showing this js-snippet. I think that will work for me.

> ViewExpiredException occurs if you heavy use ajax within more than one form
> ---------------------------------------------------------------------------
>
>                 Key: MYFACES-3159
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3159
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>         Environment: Java 6, Tomcat 6 and 7, latest SNAPSHOT of MyFaces 2.1.0
>            Reporter: Rene O
>         Attachments: jsf2testcase-webapp-0.0.1-SNAPSHOT.war
>
>
> I have an usecase with more than one form on a page and heavy use of ajax.
> After several ajax requests within one of the forms and after that, another 
> ajax request in one of the other forms, a ViewExpiredException occurs.
> A simplified testcase to reproduce this issue is attached. 
> Steps to reproduce:
> 1. http://localhost:8080/jsf2testcase/test.jsf
> 2. click minimum 21 times (one more time than the default value for 
> numberOfViewsInSession) one of the first two buttons
> 3. click the third button in the other from
> 4. ViewExpiredException occurs
> If you only use the two buttons within the first form, the 
> ViewExpiredException never occurs, so i think this is a bug. 
> To use only one form is no option for my usecase and to increase the number 
> of views in session is also no good solution for this, because this only 
> delays the problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to