File: evalvmcontext.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 (7 lines) | stat: -rw-r--r-- 196 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
## test of evaluate in a macro context whith local refs (foreach refs)

#macro(testEval $expr)
#foreach($value in ["val1", "val2"])value is : #evaluate( $expr );#end
#end

#testEval( "${value}" )