You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by bu...@apache.org on 2003/10/02 16:29:11 UTC

DO NOT REPLY [Bug 23570] New: - counter. should be directive.foreach.counter. in vtl-reference-guide

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23570>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23570

counter. should be directive.foreach.counter. in vtl-reference-guide

           Summary: counter. should be directive.foreach.counter. in vtl-
                    reference-guide
           Product: Velocity
           Version: 1.3.1
          Platform: All
               URL: http://jakarta.apache.org/velocity/vtl-reference-
                    guide.html
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Documentation
        AssignedTo: velocity-dev@jakarta.apache.org
        ReportedBy: mkienenb@alaska.net


FROM http://jakarta.apache.org/velocity/vtl-reference-guide.html:
> counter.name = velocityCount
> counter.initial.value = 0

FROM http://jakarta.apache.org/velocity/user-guide.html#Loops:
> directive.foreach.counter.name = velocityCount
> directive.foreach.counter.initial.value = 1

Searching the archives seems to show that the second form is the correct 
form, and that the vtl-reference-guide needs to be updated.

http://www.mail-archive.com/velocity-user@jakarta.apache.org/msg06023.html

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org