You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by js...@apache.org on 2003/03/04 09:25:31 UTC
cvs commit: jakarta-commons/jelly/src/java/org/apache/commons/jelly/tags/core ForEachTag.java
jstrachan 2003/03/04 00:25:31
Modified: jelly/src/java/org/apache/commons/jelly/tags/core
ForEachTag.java
Log:
Applied patch supplied by Robert McIntosh
Revision Changes Path
1.21 +15 -5 jakarta-commons/jelly/src/java/org/apache/commons/jelly/tags/core/ForEachTag.java
Index: ForEachTag.java
===================================================================
RCS file: /home/cvs/jakarta-commons/jelly/src/java/org/apache/commons/jelly/tags/core/ForEachTag.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ForEachTag.java 24 Jan 2003 22:53:34 -0000 1.20
+++ ForEachTag.java 4 Mar 2003 08:25:29 -0000 1.21
@@ -220,4 +220,14 @@
public void setStep(int step) {
this.step = step;
}
+
+ /**
+ * Sets the variable name to export the current index to.
+ * This does the same thing as #setIndexVar(), but is consistent
+ * with the <a href="http://java.sun.com/products/jsp/jstl/">JSTL</a>
+ * syntax.
+ */
+ public void setVarStatus(String var) {
+ setIndexVar( var );
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org