Patch applied, thanks Robert.
James
-------
http://radio.weblogs.com/0112098/
----- Original Message -----
From: "Robert McIntosh" <[EMAIL PROTECTED]>
To: "Commons" <[EMAIL PROTECTED]>
Sent: Wednesday, February 26, 2003 4:17 PM
Subject: [Jelly] [patch] ForEachTag
> I added a setVarStatus() method, which just invokes the setIndexVar()
> method, but the varStatus is consistent with the JSTL syntax, so it
> would be familiar to those who use JSTL a lot.
>
> No biggy, take it or leave it :-)
>
> - Robert
>
----------------------------------------------------------------------------
----
> Index: ForEachTag.java
> ===================================================================
> RCS file:
/home/cvspublic/jakarta-commons/jelly/src/java/org/apache/commons/jelly/tags
/core/ForEachTag.java,v
> retrieving revision 1.20
> diff -u -r1.20 ForEachTag.java
> --- ForEachTag.java 24 Jan 2003 22:53:34 -0000 1.20
> +++ ForEachTag.java 26 Feb 2003 16:15:48 -0000
> @@ -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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]