java - Define global contants in velocity -
vm_global_library.vm
file used defining global macros available in templates.
i tried defining variable in file hoping become available in templates:
#set( $size_limit = 100)
however doesn't work , $size_limit
prints literal.
how can define variable available in templates? there global version of org.apache.velocity.velocitycontext
?
Comments
Post a Comment