MyTasks portlet improvements and fixes:

- Inner panel of MyTasks portlet now a separate webscript called 'mytaskspanel' and an ajax request is used to refresh or update the panel after an action occurs.
 - Generated task actions fixed to use ajax refresh rather than full window refresh (fixes issue with MyTasks portlet actions being used in JSF-168 or JSF runtime)
 - Generated task actions fixed to handle default (null) transition ID
Permission checking added to MySpaces portlet actions.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5808 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-05-30 09:35:20 +00:00
parent b2a11b9832
commit c05c6a253f
7 changed files with 154 additions and 81 deletions

View File

@@ -19,7 +19,7 @@ var MySpaces = {
// is responsible for rendering just the contents of the main panel div
YAHOO.util.Connect.asyncRequest(
"GET",
getContextPath() + '/service/myspacespanel?p='+MySpaces.Path+'&f='+MySpaces.Filter+'&h='+MySpaces.Home, //+'&_='+(Math.random())
getContextPath() + '/service/myspacespanel?p='+MySpaces.Path+'&f='+MySpaces.Filter+'&h='+MySpaces.Home,
{
success: function(response)
{
@@ -32,7 +32,7 @@ var MySpaces = {
},
failure: function(response)
{
$('spacePanel').setHTML("Sorry, list data currently unavailable.");
$('spacePanel').setHTML("Sorry, data currently unavailable.");
}
}
);