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 2013/09/18 19:26:51 UTC

[jira] [Resolved] (MYFACES-3777) [perf] minimize FacesContext.getCurrentInstance() in some new points

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

Leonardo Uribe resolved MYFACES-3777.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0
    
> [perf] minimize FacesContext.getCurrentInstance() in some new points
> --------------------------------------------------------------------
>
>                 Key: MYFACES-3777
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3777
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-344
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.2.0
>
>
> With the introduction of the new JSF 2.2 spec, there are new points where we need FacesContext instance. The idea is just minimize those calls.
> When a view is refreshed, many FacesContext.getCurrentInstance() calls are required because setParent() is called. I have found a way to avoid that and improve performance a bit in that part.

--
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