15 Mar
2014
15 Mar
'14
8:12 p.m.
Hi all, after I managed to write a groovy class with a static method within a groovy block: {{groovy}} class MyClass { static myFunction(out) { out.println "hello world" } MyClass.myFunction(out) {{/groovy}} I would like to invoke thos static groovy class function from within a Velocity block: ${MyClass.myFunction(out)} But unfortunately, this does not work. Nothing will be displayed. Has anybody an idea for help? Thanks Matthias