AnsweredAssumed Answered

roothome.childByNamePath()

Question asked by koolalfdev on Aug 20, 2008
Latest reply on Aug 29, 2008 by ivo.costa
Hello All,

I have my web scripts in the classpath:alfresco/extension/templates/webscripts/myWebscripts.

I have a java script file test.get.js that creates an object and sets it in the model.data = "testData". I want to call the node.processTemplate(template) and the ftl file is in the same directory but when I do   var temp = roothome.childByNamePath(alfresco/extension/templates/webscripts/myWebscripts/test.ftl) it returns null.

Kindly help I have deliverable coming up this Friday :)

Thanks

Outcomes