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 2012/09/03 00:55:07 UTC

[jira] [Resolved] (MYFACES-3601) Avoid call UIViewRoot.setViewId(...) when it is not necessary to prevent state creation

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

Leonardo Uribe resolved MYFACES-3601.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.9
                   2.0.15
    
> Avoid call UIViewRoot.setViewId(...) when it is not necessary to prevent state creation
> ---------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3601
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3601
>             Project: MyFaces Core
>          Issue Type: Improvement
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>            Priority: Minor
>             Fix For: 2.0.15, 2.1.9
>
>
> The call in FaceletViewDeclarationLanguage.buildView() creates state in the view without need, because its value usually does not change. The solution is just check and only write the value when it changes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira