I've got a velocity template and a legacy method that puts something in the context for this template.
Can I know all the variables that are enabled in the template? May be something like that:
#printContext()
You can try the following:
#foreach( $key in $context.keys )
$key = $context.get($key)
#end
See also:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With