Web Script calling another Web Script

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2009 09:39 AM
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2009 11:53 AM
There's the remote object built into the Surf framework: http://wiki.alfresco.com/wiki/Surf_Platform_-_Freemarker_Template_and_JavaScript_API#remote
However this isn't possible from a Repository webscript. You might want to investigate JavaScript and/or Freemarker includes to achieve the same thing.
Thanks,
Mike
However this isn't possible from a Repository webscript. You might want to investigate JavaScript and/or Freemarker includes to achieve the same thing.
Thanks,
Mike
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2009 12:11 PM
Is this not possible even from a Java-based Web Script? I would like to use one script to run an arbitrary script as a different user.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2009 07:59 AM
var response = remote.connect("http").get(webScriptURL);
