Solved
Custom functions in velocity
Hi, does anyone know if there is an option to define custom functions in velocity script.
Hard to fine more info on the internet.
Regards
Hi, does anyone know if there is an option to define custom functions in velocity script.
Hard to fine more info on the internet.
Regards
Yes, they’re called Velocimacros: the #macro directive. You can read a lot about them in my blog posts.
Be aware that Velocimacros are intended to return Strings (they’re for output, in other words). But they can work with any other datatype internally.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.