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:24:54 UTC
[myfaces] branch 2.2.x updated: MYFACES-4341
This is an automated email from the ASF dual-hosted git repository.
tandraschko pushed a commit to branch 2.2.x
in repository https://gitbox.apache.org/repos/asf/myfaces.git
The following commit(s) were added to refs/heads/2.2.x by this push:
new 0c2f783 MYFACES-4341
0c2f783 is described below
commit 0c2f783fcc4eb1d58ac1139cfe08834f7b4a690f
Author: Thomas Andraschko <ta...@apache.org>
AuthorDate: Thu Jun 18 15:24:34 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 fff5884..eb3f3a9 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
@@ -1138,9 +1138,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);
@@ -1167,6 +1164,9 @@ public class UIRepeat extends UIComponentBase implements NamingContainer
&& !subtreeIdsToVisit.isEmpty();
if (doVisitChildren)
{
+ // validate attributes
+ _validateAttributes();
+
// visit the facets of the component
if (getFacetCount() > 0)
{