You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ta...@apache.org on 2020/06/18 13:23:18 UTC

[myfaces] branch 2.3.x updated: MYFACES-4341

This is an automated email from the ASF dual-hosted git repository.

tandraschko pushed a commit to branch 2.3.x
in repository https://gitbox.apache.org/repos/asf/myfaces.git


The following commit(s) were added to refs/heads/2.3.x by this push:
     new b4978c8  MYFACES-4341
b4978c8 is described below

commit b4978c8713e6b56f5c6986a0b882d4ae7c05f2b7
Author: Thomas Andraschko <ta...@apache.org>
AuthorDate: Thu Jun 18 15:23:10 2020 +0200

    MYFACES-4341
---
 .../java/org/apache/myfaces/view/facelets/component/UIRepeat.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/component/UIRepeat.java b/impl/src/main/java/org/apache/myfaces/view/facelets/component/UIRepeat.java
index a68f109..dd759a9 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/component/UIRepeat.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/component/UIRepeat.java
@@ -1281,9 +1281,6 @@ public class UIRepeat extends UIComponentBase implements NamingContainer
             final int prevIndex = _index;
             final int prevCount = _count;
 
-            // validate attributes
-            _validateAttributes();
-
             // reset index and save scope values
             _captureScopeValues();
             _setIndex(-1);
@@ -1310,6 +1307,9 @@ public class UIRepeat extends UIComponentBase implements NamingContainer
                             && !subtreeIdsToVisit.isEmpty();
                     if (doVisitChildren)
                     {
+                        // validate attributes
+                        _validateAttributes();
+   
                         // visit the facets of the component
                         if (getFacetCount() > 0)
                         {