File: sample.vm

package info (click to toggle)
velocity 1.7-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 5,844 kB
  • ctags: 5,363
  • sloc: java: 41,235; xml: 15,001; sh: 192; sql: 18; makefile: 5
file content (32 lines) | stat: -rw-r--r-- 662 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#*

@test sample.vm

This template is used for Velocity regression testing.
If you alter this template make sure you change the
corresponding comparison file so that the regression 
test doesn't fail incorrectly.

*#

<html>
<head><title>Sample velocity page</title></head>
<body bgcolor="#ffffff">
<center>

<h2>Hello from velocity!</h2>
<i>Here's the list of people</i>
<table cellspacing="0" cellpadding="5" widht="100%">
    <tr>
        <td bgcolor="#eeeeee" align="center">
            Names
        </td>
    </tr>
    #foreach ($name in $provider.Customers)
    <tr>
        <td bgcolor="#eeeeee">$name</td>
    </tr>
    #end
</table>
</center>
</html>