File: example.vm

package info (click to toggle)
velocity 1.3.1-2
  • links: PTS
  • area: contrib
  • in suites: sarge
  • size: 4,164 kB
  • ctags: 2,922
  • sloc: java: 24,134; xml: 16,911; sh: 99; lisp: 53; makefile: 45
file content (17 lines) | stat: -rw-r--r-- 251 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
## This is an example velocity template

#set( $this = "Velocity")

$this is great!

#foreach( $name in $list )
    $name is great!
#end

#set( $condition = true)

#if ($condition)
    The condition is true!
#else
    The condition is false!
#end