documentationvelocity

Velocity $fn docs


I notice in some Velocity reports I'm working with that $fn contains some built in functions for Velocity. I can't seem to find a list of these. For example, $fn.formatNumber($fn.duration($time),'##0.0')

My google-fu has failed me on this one. Anyone have link to the docs on this?


Solution

  • Those are not built in. It is some utility class that either is getting added to every context somewhere or is registered in velocity-tools.xml as a custom tool.