Web Scripts:

- addition of content retrieval web script / redirect search to this web script
- move search scripts to repository/search package

External Access Servlet:
- fix dashboard refresh issue

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5933 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2007-06-13 12:14:22 +00:00
parent c240fc2948
commit 93e6410090
21 changed files with 369 additions and 27 deletions

View File

@@ -43,16 +43,11 @@ public abstract class WebScriptRequestImpl implements WebScriptRequest
WebScriptMatch match = getServiceMatch();
if (match != null)
{
String servicePath = getServiceMatch().getPath();
extensionPath = getPathInfo();
if (extensionPath != null)
String matchPath = getServiceMatch().getPath();
String pathInfo = getPathInfo();
if (pathInfo != null)
{
int extIdx = extensionPath.indexOf(servicePath);
if (extIdx != -1)
{
int extLength = (servicePath.endsWith("/") ? servicePath.length() : servicePath.length() + 1);
extensionPath = extensionPath.substring(extIdx + extLength);
}
extensionPath = pathInfo.substring(matchPath.length());
}
}
return extensionPath;