AnsweredAssumed Answered

whats wrong in this code?

Question asked by jeyush on Jan 3, 2008
Latest reply on Jan 4, 2008 by mikeh
I write one .js file but when i run that script it is not show me the content of that particular file.can anybody know where i am wrong ? any help appreciated .

my content.get.js look like this



var tutorial = companyhome.childByNamePath("/Guest Home/
Brochure.xsd");
document.tutorial = tutorial;
formfield.content = document.properties.content;
cache.ETag = tutorial.properties.content;
cache.lastModified = tutorial.properties.modified;


And my content.get.ftl look like this


${document.properties.content}


Thx in advance.

Outcomes