Fixups to portlet webscripts that hardcore the '/service' part of webscript urls to use ${url.serviceContext} and push down into appropriate javascripts

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5884 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-06-07 14:44:41 +00:00
parent 9aa5b881c7
commit bf8af80370
3 changed files with 3 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ public class WebScriptJSFResponse implements WebScriptResponse
String fieldId = component.getClientId(fc);
String formClientId = form.getClientId(fc);
StringBuilder buf = new StringBuilder(200);
StringBuilder buf = new StringBuilder(256);
// dirty - but can't see any other way to convert to a JSF action click...
buf.append("#\" onclick=\"");
buf.append("document.forms[");

View File

@@ -24,4 +24,4 @@
--%>
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
<r:webScript scriptUrl="/alfresco/service/myspaces" />
<r:webScript scriptUrl="/alfresco/wcservice/myspaces" />

View File

@@ -24,4 +24,4 @@
--%>
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
<r:webScript scriptUrl="/alfresco/service/mytasks" />
<r:webScript scriptUrl="/alfresco/wcservice/mytasks" />