Webscript JSR-168 Portlet runtime fixes for webscript url generation client-side function and url argument decoding.

JSR-168 portlet webscripts now use different service url - /168service/...
UI improvements to pop-up dialogs in portlets - now draggable and position now relative.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5912 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-06-11 14:50:05 +00:00
parent adb817b386
commit 1be49d2679
6 changed files with 51 additions and 12 deletions

View File

@@ -90,7 +90,13 @@
<div id="spacePanel">
<#-- populated via an AJAX call to 'myspacespanel' webscript -->
<#-- resolved path, filter and home.noderef required as arguments -->
<script>MySpaces.ServiceContext="${url.serviceContext}";MySpaces.ScriptUrlEncoder=eval("MySpaces.ScriptUrlEncoder=" + unescape("${url.getClientUrlFunction("encUrl")}"));MySpaces.Path="${path?replace("\"","\\\"")}";MySpaces.Filter="${filter}";MySpaces.Home="${home.nodeRef}";</script>
<script>
MySpaces.ServiceContext="${url.serviceContext}";
MySpaces.ScriptUrlEncoder=eval("MySpaces.ScriptUrlEncoder=" + unescape("${url.getClientUrlFunction("encUrl")}"));
MySpaces.Path="${path?replace("\"","\\\"")}";
MySpaces.Filter="${filter}";
MySpaces.Home="${home.nodeRef}";
</script>
</div>
<div class="spaceFooter">
<#-- the count value is retrieved and set dynamically from the AJAX webscript output above -->
@@ -402,7 +408,6 @@ a.spaceBreadcrumbLink:link, a.spaceBreadcrumbLink:visited, a.spaceBreadcrumbLink
padding: 8px;
margin: 8px;
display: none;
left: 8px;
-moz-border-radius: 5px;
}
@@ -416,7 +421,6 @@ a.spaceBreadcrumbLink:link, a.spaceBreadcrumbLink:visited, a.spaceBreadcrumbLink
padding: 8px;
margin: 8px;
display: none;
left: 8px;
-moz-border-radius: 5px;
}