. WCM UI is now sensitive to the 'wcmwf:submitted' aspect marking an item as currently part of a live workflow process

- most actions such as Submit, Edit, Delete, Revert etc. are unavailable when an item is within a workflow
. Fix to preview url generation after executing an action in the Staging area that changed the UI context
. Another icon from Linton

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4638 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-12-18 15:57:49 +00:00
parent c890a3d2c4
commit fd7c24cfd3
7 changed files with 64 additions and 10 deletions

View File

@@ -863,7 +863,14 @@ public class AVMBrowseBean implements IContextListener
String[] parts = path.split("[-:]");
String storename = parts[0];
String username = parts[1];
setupSandboxActionImpl(AVMConstants.buildAVMUserMainStoreName(storename, username), username, false);
if (username.equals(AVMConstants.STORE_STAGING.substring(1)))
{
setupSandboxActionImpl(null, null, false);
}
else
{
setupSandboxActionImpl(AVMConstants.buildAVMUserMainStoreName(storename, username), username, false);
}
// setup the action node
AVMNodeDescriptor node = avmService.lookup(-1, path, true);