commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james_strac...@yahoo.co.uk>
Subject Re: [Jelly] [patch] ForEachTag
Date Tue, 04 Mar 2003 08:23:52 GMT
Patch applied, thanks Robert.

James
-------
http://radio.weblogs.com/0112098/
----- Original Message -----
From: "Robert McIntosh" <robert@bull-enterprises.com>
To: "Commons" <commons-dev@jakarta.apache.org>
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: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org

__________________________________________________
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message