jvanzyl     00/10/15 13:07:32

  Modified:    testbed  velocity.properties
  Log:
  - added initial.counter.value to the properties to allow
    specification of initial value for the loop counter that
    is now available in the #foreach directive. The loop
    counter value can be accessed with $velocityCount.
  
  Revision  Changes    Path
  1.2       +7 -0      jakarta-velocity/testbed/velocity.properties
  
  Index: velocity.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/testbed/velocity.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- velocity.properties       2000/09/30 17:04:30     1.1
  +++ velocity.properties       2000/10/15 20:07:32     1.2
  @@ -22,3 +22,10 @@
   # Options for the FastWriter
   template.encoding = UTF8
   template.asciihack = true
  +
  +# This is for #foreach loops. You can
  +# retrieve the current number of the item
  +# being operated on by using the special
  +# $velocityCount variable. Here you can specify
  +# what to start the counter at 0 or 1.
  +initial.counter.value = 1
  
  
  

Reply via email to