- Allow addition of Alfresco OpenSearch to browser just by going to Alfresco Web Client.

- Remove obsolete /services/index.html page

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5934 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2007-06-13 14:29:38 +00:00
parent 93e6410090
commit 6bdd49ffc7
3 changed files with 5 additions and 23 deletions

View File

@@ -126,6 +126,7 @@ public class PageTag extends TagSupport
try
{
String reqPath = ((HttpServletRequest)pageContext.getRequest()).getContextPath();
Writer out = pageContext.getOut();
if (Application.inPortalServer() == false)
@@ -143,12 +144,12 @@ public class PageTag extends TagSupport
{
out.write("Alfresco Web Client");
}
out.write("</title></head>");
out.write("</title>");
out.write("<link rel=\"search\" type=\"application/opensearchdescription+xml\" href=\"" + reqPath + "/wcservice/api/search/keyword/description.xml\" title=\"Alfresco Keyword Search\"/>");
out.write("</head>");
out.write("<body>\n");
}
String reqPath = ((HttpServletRequest)pageContext.getRequest()).getContextPath();
// CSS style includes
out.write(STYLES_START);
out.write(reqPath);