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 (Resolved) (JIRA)" <de...@myfaces.apache.org> on 2012/03/03 17:29:57 UTC

[jira] [Resolved] (MYFACES-3485) [perf] Use facesContext attribute map instead request map

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

Leonardo Uribe resolved MYFACES-3485.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.7
                   2.0.13
    
> [perf] Use facesContext attribute map instead request map
> ---------------------------------------------------------
>
>                 Key: MYFACES-3485
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3485
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-314
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.13, 2.1.7
>
>
> Use facesContext attribute map instead request map is a good idea for some reasons:
> - Store on request or session map causes unnecessary servlet events to be propagated. Most of the time myfaces uses those variables as a flags or as a temporal cache.
> - facesContext attributes has the same lifetime of FacesContext, which usually is an invariant of jsf internal flags/cache vars.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira