aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src/test/resources/templates/stop2.vm
blob: 9a530ce2dc36cc1e6783b7d3a8f94f00c10953e0 (plain)
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
This page checks the stop directive inside an if statement

#if(false)

    #stop

#end

this should render

#if(true)

#stop

#end

this should not render

check reference
#set($a = 10)
$a

check method call
$a.toString()

check escaped directive
\#if

check escaped reference
\$a