-
Sep 22nd, 2010, 05:23 PM
#1
Surf support for JS file import
I am familiar with Alfresco Web Scripts where I used the following syntax to include JavaScript (JS) library files:
<import resource="classpath:alfresco/extension/templates/webscripts/com/ihg/hcm/utils.js">
This is quite handy! Looks like syntax straight out of a Spring application context file.
I attempted to use this syntax in a JS file within Spring Surf to no avail. I am hoping that some form of the import functionality was ported as part of moving Web Scripts to Spring Surf. Is this the case?
Otherwise, it looks rather painful to accomplish a file import in ECMA. Am I missing something?
Thanks,
Bob
Last edited by BoJo; Sep 22nd, 2010 at 10:44 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules