mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Initial cut of IMAP support (disabled by default, to enable move imap sample files into extension folder)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14279 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -58,7 +58,8 @@ public class ScriptActionExecuter extends ActionExecuterAbstractBase
|
||||
private String companyHomePath;
|
||||
private StoreRef storeRef;
|
||||
private ScriptLocation scriptLocation;
|
||||
|
||||
private String webApplicationContextUrl;
|
||||
|
||||
/**
|
||||
* @param serviceRegistry The serviceRegistry to set.
|
||||
*/
|
||||
@@ -94,7 +95,17 @@ public class ScriptActionExecuter extends ActionExecuterAbstractBase
|
||||
{
|
||||
this.scriptLocation = scriptLocation;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set the web application context url
|
||||
*
|
||||
* @param webApplicationContextUrl web application context url
|
||||
*/
|
||||
public void setWebApplicationContextUrl(String webApplicationContextUrl)
|
||||
{
|
||||
this.webApplicationContextUrl = webApplicationContextUrl;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allow adhoc properties to be passed to this action
|
||||
*
|
||||
@@ -149,7 +160,9 @@ public class ScriptActionExecuter extends ActionExecuterAbstractBase
|
||||
// Add the action to the default model
|
||||
ScriptAction scriptAction = new ScriptAction(this.serviceRegistry, action, this.actionDefinition);
|
||||
model.put("action", scriptAction);
|
||||
|
||||
|
||||
model.put("webApplicationContextUrl", webApplicationContextUrl);
|
||||
|
||||
Object result = null;
|
||||
if (this.scriptLocation == null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user