myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabrielle Crawford (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TRINIDAD-2114) statemanagerimpl not setting is_saving_state
Date Thu, 14 Jul 2011 19:39:59 GMT

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

Gabrielle Crawford commented on TRINIDAD-2114:
----------------------------------------------

 Filed this to use the constant: TRINIDAD-2115 replace "javax.faces.IS_SAVING_STATE" with
StateManager.IS_SAVING_STATE once we upgrade our JSF verstion to 2.1 or higher

https://issues.apache.org/jira/browse/TRINIDAD-2115

> statemanagerimpl not setting is_saving_state
> --------------------------------------------
>
>                 Key: TRINIDAD-2114
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2114
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Gabrielle Crawford
>            Assignee: Gabrielle Crawford
>             Fix For: 2.0.1
>
>
> In JSF 2.1 in com.sun.faces.application.StateManagerImpl.saveView StateManager.IS_SAVING_STATE
is put in the contextAttributes before saving the view. We are not yet relying on JSF 2.1,
so for now we will use the string value "javax.faces.IS_SAVING_STATE". 
> This is needed for partial state saving where processSaveState and processRestoreState
are no longer called, instead tree visiting is used, and since state saving is not in its
own phase the context attribute is used to mark this as a state saving tree visit.

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

        

Mime
View raw message