Adding support for serialization / remoting.
[castle.git] / Tools / NVelocity / test / templates / foreach-variable.vm
blobad2ad397c6a7aa1d72cac40b896752f8b20f5748
1 #*
3 @test foreach-variable.vm
5 This template is used for Velocity regression testing.
6 If you alter this template make sure you change the
7 corresponding comparison file so that the regression 
8 test doesn't fail incorrectly.
12 Foreach with a variable.
14 #foreach ($element in $list)
15     This is $element.
16     $velocityCount
17 #end
19 #foreach ($element in $list)
20     -- inner foreach --
21     #foreach ($element in $list)
22         This is $element.
23         $velocityCount
24     #end
25     -- inner foreach --
27     -- outer foreach --
28     This is $element.
29     $velocityCount
30     -- outer foreach --
31 #end