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

Werner Punz commented on MYFACES-4204:
--------------------------------------

Thanks for the info, I will do an analysis later as my time permits.

 

My guess is simply that this is a combination of jsf 2.3 in an old portlet 
container. We might have to

add a fallback for the old behavior (exec, render targets, and make the current 
default of updating all forms under viewroot configurable) which does not rely 
on the viewroot always being present...

I will also recheck the specs for this part.

 

> javax.faces.application.ViewExpiredException: View "/test.xhtml" could not be 
> restored.
> ---------------------------------------------------------------------------------------
>
>                 Key: MYFACES-4204
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4204
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: Portlet_Support
>    Affects Versions: 2.3.0
>            Reporter: Niels Borman
>            Assignee: Werner Punz
>            Priority: Critical
>         Attachments: 1 - pageload.png, 10 - refreshbutton hit - network.png, 
> 11 - refreshbutton hit - console.png, 12 - refreshbutton hit - source.png, 2 
> - pageload.png, 3 - refreshbutton hit.png, 4 - dialogbutton hit.png, 5 - 
> dialogbutton hit - inspect.png, 6 - dialog refreshbutton hit.png, 7 - dialog 
> refreshbutton hit - inspect.png, 8 - dialog closebutton hit.png, 9 - 
> refreshbutton hit - network.png
>
>
> The problem arises from jsf.js because after an ajax call all 
> javax.faces.ViewState hidden inputs are updated. The solution would be to 
> update only those hidden inputs (javax.faces.ViewState) which are also within 
> a form with the same action as the form in which the ajax call was executed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to