I have created the following webscript: section.get.js, section.get.html.ftl and section.get.desc.xml.
In the section.get.js I'm trying to do:
var folder = roothome.childByNamePath("path");
I get this error when executing:
ReferenceError: "roothome" is not defined. (/WEB-INF/webscripts/section/section.get.js#5)
Isn't roothome one of the implict objects available?