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 2015/04/09 06:01:08 UTC

svn commit: r1672237 - /myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jstl/core/ForEachHandler.java

Author: lu4242
Date: Thu Apr  9 04:01:07 2015
New Revision: 1672237

URL: http://svn.apache.org/r1672237
Log:
MYFACES-3980 c:forEach varStatus is assigned with the wrong base

Modified:
    myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jstl/core/ForEachHandler.java

Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jstl/core/ForEachHandler.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jstl/core/ForEachHandler.java?rev=1672237&r1=1672236&r2=1672237&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jstl/core/ForEachHandler.java (original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jstl/core/ForEachHandler.java Thu Apr  9 04:01:07 2015
@@ -471,7 +471,7 @@ public final class ForEachHandler extend
                         {
                             ve = new IterationStatusExpression(itrS);
                         }
-                        setVar(ctx, parent, uniqueId, base, vs, ve, srcVE);
+                        setVar(ctx, parent, uniqueId, base+"_vs", vs, ve, srcVE);
                     }
 
                     // execute body
@@ -595,7 +595,7 @@ public final class ForEachHandler extend
                             {
                                 ve = new IterationStatusExpression(itrS);
                             }
-                            setVar(ctx, parent, uniqueId, base, vs, ve, srcVE);
+                            setVar(ctx, parent, uniqueId, base+"_vs", vs, ve, srcVE);
                         }
                         //setVarStatus(ctx, pctx, t, sO, eO, mO, srcVE, value, vs, first, !itr.hasNext(), i);