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.
25 this is the first line
28 ## This is the test bed.
30 this is testing for wild loose commas , ,
42 This is the first elseif!
44 This is the second elseif!
73 #set($iam-cool = "jon")
77 function preload(imgObj,imgSrc)
81 eval(imgObj+' = new Image()')
82 eval(imgObj+'.src = "'+imgSrc+'"')
86 function changeImage(layer,imgName,imgObj)
90 if (document.layers && layer!=null) eval('document.'+layer+'.document.images["'+imgName+'"].src = '+imgObj+'.src')
91 else document.images[imgName].src = eval(imgObj+".src")
96 function changeImage(layer,imgName,imgObj)
100 if (document.layers && layer!=null) eval('document.'+layer+'.document.images["'+imgName+'"].src = '+imgObj+'.src')
101 else document.images[imgName].src = eval(imgObj+".src")
106 <!-- This is an HTML comment -->
117 <input type="text" name="email" value="">
118 <input type="text" name="email" value="$!schmarg">
121 #set($c = $provider.Title)
125 #set($d = $provider.Title)
129 #set($provider.Title = "crocodile hunter!")
139 #set($provider.Title = $d)
144 #set($provider.Title = $provider.Name)
148 #set($provider.Title = $provider.Name)
157 #set($provider.State = true)
159 #set($provider.State = false)
163 #if ($provider.StateTrue)
164 This is a property that returns a boolean
169 This expression is always (true).
173 Foreach with a variable.
175 #foreach ($element in $list)
179 Foreach with an array.
182 #foreach ($element in $provider.Array)
184 <td>This is $element</td>
190 #foreach ($element in $provider.Vector)
191 This is the $element.
195 Foreach with a method.
197 #foreach ($element in $provider.getCustomers())
207 This is the \#stuff and this
208 is the way \#to \#go.
212 I am a $provider.Title.
214 #if ($provider.theAPLRules())