AnsweredAssumed Answered

Process template from java backed webscript

Question asked by dreambitc on Sep 25, 2014
Latest reply on Oct 17, 2014 by dreambitc
Hi all!

I have java backed webscript and i need to process FreeMarker template file against the node in Java, using JavaScript it can be achieved using the following code:


How can i do the same thing in Java? I've tried create ScriptNode manually and call processTemplate method but i don't have scope object and when i call processTemplate i have NullPointerException.

Is there some solutions to solve it?

Thanks in advance!