mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Remapping of UI webscripts (portlets) to /ui/servicename style URL mapping.
All portlet webscripts tested in My Alfresco Dashboard and Liferay portal. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6141 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<webscript>
|
||||
<shortname>Document List</shortname>
|
||||
<description>Generate the Document list portlet page</description>
|
||||
<url>/doclist?f={filter?}&p={path?}&q={query?}</url>
|
||||
<url>/doclist.atom?f={filter?}&p={path?}&q={query?}</url>
|
||||
<url>/ui/doclist?f={filter?}&p={path?}&q={query?}</url>
|
||||
<url>/ui/doclist.atom?f={filter?}&p={path?}&q={query?}</url>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
</webscript>
|
@@ -1,7 +1,7 @@
|
||||
<webscript>
|
||||
<shortname>Document List Panel</shortname>
|
||||
<description>Generate the inner panel for the Document List portlet page</description>
|
||||
<url>/doclistpanel?f={filter}&p={path}&h={home};q={query?}</url>
|
||||
<url>/ui/doclistpanel?f={filter}&p={path}&h={home};q={query?}</url>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
</webscript>
|
@@ -1,7 +1,7 @@
|
||||
<webscript>
|
||||
<shortname>My Spaces</shortname>
|
||||
<description>Generate the My Spaces portlet page</description>
|
||||
<url>/myspaces?f={filter?}&p={path?}</url>
|
||||
<url>/ui/myspaces?f={filter?}&p={path?}</url>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
</webscript>
|
@@ -1,7 +1,7 @@
|
||||
<webscript>
|
||||
<shortname>My Spaces Panel</shortname>
|
||||
<description>Generate the inner panel for the My Spaces portlet page</description>
|
||||
<url>/myspacespanel?f={filter}&p={path}&h={home}</url>
|
||||
<url>/ui/myspacespanel?f={filter}&p={path}&h={home}</url>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
</webscript>
|
@@ -1,7 +1,7 @@
|
||||
<webscript>
|
||||
<shortname>My Tasks</shortname>
|
||||
<description>Generate the My Tasks portlet page</description>
|
||||
<url>/mytasks?f={filter?}</url>
|
||||
<url>/ui/mytasks?f={filter?}</url>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
</webscript>
|
@@ -1,7 +1,7 @@
|
||||
<webscript>
|
||||
<shortname>My Tasks Panel</shortname>
|
||||
<description>Generate the Generate the inner panel for the My Tasks portlet page</description>
|
||||
<url>/mytaskspanel?f={filter?}</url>
|
||||
<url>/ui/mytaskspanel?f={filter?}</url>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
</webscript>
|
@@ -1,7 +1,7 @@
|
||||
<webscript>
|
||||
<shortname>My Web Forms</shortname>
|
||||
<description>Generate the My Web Forms portlet page</description>
|
||||
<url>/mywebforms</url>
|
||||
<url>/ui/mywebforms</url>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
</webscript>
|
@@ -33,7 +33,7 @@
|
||||
</init-param>
|
||||
<init-param>
|
||||
<name>scriptUrl</name>
|
||||
<value>/alfresco/168s/mytasks</value>
|
||||
<value>/alfresco/168s/ui/mytasks</value>
|
||||
</init-param>
|
||||
|
||||
<supports>
|
||||
@@ -58,7 +58,7 @@
|
||||
</init-param>
|
||||
<init-param>
|
||||
<name>scriptUrl</name>
|
||||
<value>/alfresco/168s/doclist</value>
|
||||
<value>/alfresco/168s/ui/doclist</value>
|
||||
</init-param>
|
||||
|
||||
<supports>
|
||||
@@ -83,7 +83,7 @@
|
||||
</init-param>
|
||||
<init-param>
|
||||
<name>scriptUrl</name>
|
||||
<value>/alfresco/168s/myspaces</value>
|
||||
<value>/alfresco/168s/ui/myspaces</value>
|
||||
</init-param>
|
||||
|
||||
<supports>
|
||||
@@ -108,7 +108,7 @@
|
||||
</init-param>
|
||||
<init-param>
|
||||
<name>scriptUrl</name>
|
||||
<value>/alfresco/168s/mywebforms</value>
|
||||
<value>/alfresco/168s/ui/mywebforms</value>
|
||||
</init-param>
|
||||
|
||||
<supports>
|
||||
@@ -122,4 +122,8 @@
|
||||
</portlet-info>
|
||||
</portlet>
|
||||
|
||||
<user-attribute>
|
||||
<name>user.home-info.online.email</name>
|
||||
</user-attribute>
|
||||
|
||||
</portlet-app>
|
||||
|
@@ -24,4 +24,4 @@
|
||||
--%>
|
||||
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
|
||||
|
||||
<r:webScript scriptUrl="/wcs/doclist" />
|
||||
<r:webScript scriptUrl="/wcs/ui/doclist" />
|
@@ -24,4 +24,4 @@
|
||||
--%>
|
||||
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
|
||||
|
||||
<r:webScript scriptUrl="/wcs/myspaces" />
|
||||
<r:webScript scriptUrl="/wcs/ui/myspaces" />
|
@@ -24,4 +24,4 @@
|
||||
--%>
|
||||
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
|
||||
|
||||
<r:webScript scriptUrl="/wcs/mytasks" />
|
||||
<r:webScript scriptUrl="/wcs/ui/mytasks" />
|
@@ -24,4 +24,4 @@
|
||||
--%>
|
||||
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
|
||||
|
||||
<r:webScript scriptUrl="/wcs/mywebforms" />
|
||||
<r:webScript scriptUrl="/wcs/ui/mywebforms" />
|
@@ -22,7 +22,7 @@ var MyDocs = {
|
||||
// is responsible for rendering just the contents of the main panel div
|
||||
YAHOO.util.Connect.asyncRequest(
|
||||
"GET",
|
||||
MyDocs.ServiceContext + '/doclistpanel?f='+MyDocs.Filter+'&h='+MyDocs.Home+'&q='+MyDocs.Query,
|
||||
MyDocs.ServiceContext + '/ui/doclistpanel?f='+MyDocs.Filter+'&h='+MyDocs.Home+'&q='+MyDocs.Query,
|
||||
{
|
||||
success: function(response)
|
||||
{
|
||||
|
@@ -26,7 +26,7 @@ var MySpaces = {
|
||||
// is responsible for rendering just the contents of the main panel div
|
||||
YAHOO.util.Connect.asyncRequest(
|
||||
"GET",
|
||||
MySpaces.ServiceContext + '/myspacespanel?p='+MySpaces.Path+'&f='+MySpaces.Filter+'&h='+MySpaces.Home,
|
||||
MySpaces.ServiceContext + '/ui/myspacespanel?p='+MySpaces.Path+'&f='+MySpaces.Filter+'&h='+MySpaces.Home,
|
||||
{
|
||||
success: function(response)
|
||||
{
|
||||
|
@@ -12,7 +12,7 @@ var MyTasks = {
|
||||
// is responsible for rendering just the contents of the main panel div
|
||||
YAHOO.util.Connect.asyncRequest(
|
||||
"GET",
|
||||
MyTasks.ServiceContext + '/mytaskspanel?f='+MyTasks.Filter,
|
||||
MyTasks.ServiceContext + '/ui/mytaskspanel?f='+MyTasks.Filter,
|
||||
{
|
||||
success: function(response)
|
||||
{
|
||||
|
Reference in New Issue
Block a user