I have a webscript "search.get.js" in which i'd like to import a javascript file that is either on the repository or the classpath, doesn't really matter.
I've tried both the sintax:
<import resource="/Company Home/Data Dictionary/Scripts/myscript.js"/>
that works just fine in the javascript files, and the syntax:
<import resource="classpath:alfresco/templates/webscripts/myscript.js"/>
None of them work. I never get the functions defined in the script imported.
Any ideas ?