RSS

Track the loop iterator variable in velocity template

22 Jul

For those using the vm templates, here is the way for tracking the iterator count in foreach loops,

#foreach(….)
                $velocityCount   —————-  Holds the iteration count value for each iteration

#end

 
1 Comment

Posted by on July 22, 2011 in Java

 

Tags: , ,

One response to “Track the loop iterator variable in velocity template

  1. Vasanth

    August 17, 2011 at 8:29 am

    hi,
    Nice Blog for developers. I am new to java programming and came to know that Eclipse is a java IDE and free ware. Please guide me where to download and how to install eclipse. If possible please execute a “hello world” program in order to make the user familiar to compile and run java program in Eclipse.

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: