jvanzyl     00/10/15 13:27:33

  Modified:    testbed  velocity.properties
  Log:
  - now you can name what the counter is accessed as in foreach loops.
  
  Revision  Changes    Path
  1.3       +6 -1      jakarta-velocity/testbed/velocity.properties
  
  Index: velocity.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/testbed/velocity.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- velocity.properties       2000/10/15 20:07:32     1.2
  +++ velocity.properties       2000/10/15 20:27:32     1.3
  @@ -23,9 +23,14 @@
   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
  +counter.initial.value = 1
  +
  +# You can name what the counter
  +# variable can be accessed as.
  +counter.name = velocityCount
  
  
  

Reply via email to