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

Leonardo Uribe commented on MYFACES-2540:
-----------------------------------------

I attached a patch with a modification about where it should be called 
stateMgr.saveView(context). This form is preferred because it is only called 
when it is necessary. The other way call it even in cases where we have pages 
that does not write the state token.

> Facelets server state saving does not work
> ------------------------------------------
>
>                 Key: MYFACES-2540
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2540
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.0-beta-2
>         Environment: myfaces core trunk
>            Reporter: Martin Koci
>         Attachments: MYFACES-2540-2.patch, MYFACES-2540.patch
>
>
> Facelets server state saving does not work:  StateManager.saveView in not 
> called during ViewDeclarationLanguage.renderView in case of server state 
> saving. Please  see attached patch for details.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to