Calling static method from template in Apache Click

3.3k views Asked by At

How can I call a static method from a (velocity) template when using Apache Click?

2

There are 2 answers

0
jhoff On BEST ANSWER

You can use

addModel("MyClass", MyClass.class)

in your Page.

0
Bob Schellink On