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

Leonardo Uribe resolved MYFACES-3206.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.2
                   2.0.8
         Assignee: Leonardo Uribe

Thanks for the report. Yes, varStatus name should be saved on the state. This 
only can be seen when PSS is disabled for the current view, so with PSS enabled 
there is no problem.

> ui:repeat loses varStatus during save/restore state
> ---------------------------------------------------
>
>                 Key: MYFACES-3206
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3206
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.0.7
>         Environment: MyFaces 2.0.7, Richfaces 4.0, Tomcat 6
>            Reporter: James G
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.8, 2.1.2
>
>
> If you use a ui:repeat with the varStatus set then the varStatus is lost 
> during an ajax call.
> for example:
> <h:panelGroup id="myPanel">
>   <ui:repeat value="#{repeatOver}" 
>                    id="repeatID"
>        var="v"
>                    varStatus="vStatus">
>     <h:outputText value="vStatus.index" />
>   </ui:repeat>
> </h:panelGroup>
> If you invoke an ajax call which renders "myPanel" then the vStatus variable 
> is now null.
> If you look at org.apache.myfaces.view.facelets.component.UIRepeat the 
> restoreState and saveState methods save _var but not _varStatus.

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

        

Reply via email to