mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.1 to HEAD
12911: Fix for Share calendar toolbar after regression from site membership refactoring 12940: Refactoring of the Repository ScriptService to support compilation of Rhino JavaScript (from iDay work). git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13530 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -946,7 +946,15 @@ public class RepoStore implements Store, TenantDeployer
|
||||
{
|
||||
return "/" + path + " (in repository store " + repoStore.toString() + getBaseDir() + ")";
|
||||
}
|
||||
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.web.scripts.ScriptContent#isCachable()
|
||||
*/
|
||||
public boolean isCachable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.web.scripts.ScriptContent#isSecure()
|
||||
*/
|
||||
@@ -955,5 +963,4 @@ public class RepoStore implements Store, TenantDeployer
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -57,7 +57,7 @@ public class RepositoryScriptProcessor implements ScriptProcessor
|
||||
protected SearchPath searchPath;
|
||||
|
||||
// Javascript Converter
|
||||
private ValueConverter valueConverter = new ValueConverter();
|
||||
private final ValueConverter valueConverter = new ValueConverter();
|
||||
|
||||
|
||||
/**
|
||||
@@ -122,6 +122,7 @@ public class RepositoryScriptProcessor implements ScriptProcessor
|
||||
public void reset()
|
||||
{
|
||||
init();
|
||||
this.scriptService.resetScriptProcessors();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -171,6 +172,14 @@ public class RepositoryScriptProcessor implements ScriptProcessor
|
||||
return content.getReader();
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.service.cmr.repository.ScriptLocation#isCachable()
|
||||
*/
|
||||
public boolean isCachable()
|
||||
{
|
||||
return content.isCachable();
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.service.cmr.repository.ScriptLocation#isSecure()
|
||||
*/
|
||||
@@ -178,12 +187,19 @@ public class RepositoryScriptProcessor implements ScriptProcessor
|
||||
{
|
||||
return content.isSecure();
|
||||
}
|
||||
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.service.cmr.repository.ScriptLocation#getPath()
|
||||
*/
|
||||
public String getPath()
|
||||
{
|
||||
return content.getPath();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return content.getPathDescription();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user