You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2015/09/14 21:33:46 UTC

[jira] [Resolved] (MYFACES-3992) f:ajax doesn't append javax.faces.ViewState back on re-render of form in stateless view

     [ https://issues.apache.org/jira/browse/MYFACES-3992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-3992.
-------------------------------------
       Resolution: Fixed
         Assignee: Leonardo Uribe
    Fix Version/s: 2.2.9

The most simple solution is just render stateless when the view is transient on every ajax request. The idea is fix the javascript code, so I let the TODO in the code of PartialViewContextImpl.

> f:ajax doesn't append javax.faces.ViewState back on re-render of form in stateless view
> ---------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3992
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3992
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.2.8
>         Environment: MyFaces 2.2.8 + Tomcat 8.0.21
>            Reporter: Bauke Scholtz
>            Assignee: Leonardo Uribe
>             Fix For: 2.2.9
>
>
> http://stackoverflow.com/q/30530686/157882
> javax.faces.ViewState hidden input field get lost when f:ajax updates a form in a stateless view.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)