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 2014/02/20 20:07:19 UTC

[jira] [Resolved] (MYFACES-3860) UIViewRoot.restoreViewScopeState(...) is not being called from DefaultFaceletsStateManagementStrategy

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

Leonardo Uribe resolved MYFACES-3860.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.1

> UIViewRoot.restoreViewScopeState(...) is not being called from DefaultFaceletsStateManagementStrategy
> -----------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3860
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3860
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-344
>    Affects Versions: 2.2.0
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.2.1
>
>
> Checking some examples I have found a typo error in DefaultFaceletsStateManagementStrategy line 319:
> Object viewRootState = states.get(view.getViewId());
> It should be like this:
> Object viewRootState = states.get(view.getId());
> The effect is build view time tags like c:forEach and c:if that uses view scope beans does not work as expected.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)