AnsweredAssumed Answered

Java - Build Dynamic Script Model

Question asked by drozes on Aug 29, 2012
Latest reply on Aug 30, 2012 by afaust
Hi guys;
Been attempting to a compile a web-script on my own through a java class.

I have successfully compiled the FTL using the class "org.springframework.extensions.webscripts.processor.FTLTemplateProcessor;" and processing the string and using a temporary model fro now.

I now need to figure out the javascript compiler to get a real model.
I believe this is the correct class to be using:
"org.springframework.extensions.webscripts.processor.JSScriptProcessor"

My questions are:
1: How to build the default objects that are avialable to javascript serverside files.
2: Any comments on the JSScriptProcessor and if it is able to process content as a string.

Ill be sure to post my class afterwards for any help!

Outcomes