. RSS Feed logo now shown on the main Browse screen for a space if it has a feed template applied

. Fixed TemplateContentServlet to allow addition URL elements to specify filename for output stream

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3539 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-08-17 16:31:45 +00:00
parent 08fd4699f5
commit 592b1da0ce
4 changed files with 52 additions and 9 deletions

View File

@@ -142,7 +142,7 @@ public class TemplateContentServlet extends BaseServlet
templateRef = pathInfo.NodeRef;
}
else if (tokenCount == 7)
else if (tokenCount >= 7)
{
StoreRef storeRef = new StoreRef(t.nextToken(), t.nextToken());
templateRef = new NodeRef(storeRef, t.nextToken());
@@ -157,7 +157,7 @@ public class TemplateContentServlet extends BaseServlet
if (nodeRef == null)
{
throw new TemplateException("Not enough arguments supplied in URL.");
throw new TemplateException("Not enough elements supplied in URL or no 'path' argument specified.");
}
// get the services we need to retrieve the content