myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1143214 - /myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/component/UIRepeat.java
Date Tue, 05 Jul 2011 22:11:22 GMT
Author: lu4242
Date: Tue Jul  5 22:11:22 2011
New Revision: 1143214

URL: http://svn.apache.org/viewvc?rev=1143214&view=rev
Log:
MYFACES-3206 ui:repeat loses varStatus during save/restore state

Modified:
    myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/component/UIRepeat.java

Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/component/UIRepeat.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/component/UIRepeat.java?rev=1143214&r1=1143213&r2=1143214&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/component/UIRepeat.java
(original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/component/UIRepeat.java
Tue Jul  5 22:11:22 2011
@@ -1199,18 +1199,20 @@ public class UIRepeat extends UIComponen
         _size = ((Integer) state[3]).intValue();
         _var = (String) state[4];
         _value = state[5];
+        _varStatus = (String) state[6];
     }
 
     @Override
     public Object saveState(FacesContext faces)
     {
-        Object[] state = new Object[6];
+        Object[] state = new Object[7];
         state[0] = super.saveState(faces);
         state[1] = _childState;
         state[2] = Integer.valueOf(_offset);
         state[3] = Integer.valueOf(_size);
         state[4] = _var;
         state[5] = _value;
+        state[6] = _varStatus;
         return state;
     }
 



Mime
View raw message