You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2012/02/25 18:55:48 UTC

svn commit: r1293657 - /myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/view/facelets/component/UIRepeat.java

Author: lu4242
Date: Sat Feb 25 17:55:48 2012
New Revision: 1293657

URL: http://svn.apache.org/viewvc?rev=1293657&view=rev
Log:
MYFACES-3463 Refactor UIRepeat code to implement PSS algorithm like UIData and fix state behavior AND
MYFACES-3415 [ui:repeat] field value disappears if validation error exists on current site

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

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/view/facelets/component/UIRepeat.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/view/facelets/component/UIRepeat.java?rev=1293657&r1=1293656&r2=1293657&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/view/facelets/component/UIRepeat.java (original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/view/facelets/component/UIRepeat.java Sat Feb 25 17:55:48 2012
@@ -262,7 +262,7 @@ public class UIRepeat extends UIComponen
         }
 
         StringBuilder bld = _getBuffer(); //SharedStringBuilder(context);
-        return bld.append(clientId).append(UINamingContainer.getSeparatorChar(context)).append(index).toString();        
+        return bld.append(clientId).append(UINamingContainer.getSeparatorChar(context)).append(index).toString();
     }
     
     private RepeatStatus _getRepeatStatus()
@@ -338,8 +338,8 @@ public class UIRepeat extends UIComponen
      * Overwrite the state of the child components of this component with data previously saved by method
      * saveDescendantComponentStates.
      * <p>
-     * The saved state info only covers those fields that are expected to vary between rows of a table. Other fields are
-     * not modified.
+     * The saved state info only covers those fields that are expected to vary between rows of a table. 
+     * Other fields are not modified.
      */
     @SuppressWarnings("unchecked")
     private void restoreDescendantComponentStates(UIComponent parent, boolean iterateFacets, Object state,