How can I call a static method from a (velocity) template when using Apache Click?
Asked
Active
Viewed 3,319 times
2
-
See also [Calling class methods (static) from inside a velocity view page](http://stackoverflow.com/questions/2329191/calling-class-methods-static-from-inside-a-velocity-view-page). – Vadzim Apr 25 '17 at 13:31
2 Answers
2
Velocity 1.6 and up supports this:
http://velocity.apache.org/engine/devel/developer-guide.html#supportforstaticclasses

Bob Schellink
- 144
- 1
- 4