mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Tenant Services hooks for WebClient - for getting tenant-specific company home/root space [not guest*servlets yet]
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6645 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1371,10 +1371,11 @@ public class BrowseBean implements IContextListener
|
||||
Node node = getActionSpace();
|
||||
if (node != null)
|
||||
{
|
||||
NodeRef companyRootRef = new NodeRef(Repository.getStoreRef(), Application.getCompanyRootId());
|
||||
FacesContext fc = FacesContext.getCurrentInstance();
|
||||
NodeRef companyRootRef = new NodeRef(Repository.getStoreRef(), Application.getCompanyRootId(fc));
|
||||
if (node.getNodeRef().equals(companyRootRef))
|
||||
{
|
||||
message = Application.getMessage(FacesContext.getCurrentInstance(), MSG_DELETE_COMPANYROOT);
|
||||
message = Application.getMessage(fc, MSG_DELETE_COMPANYROOT);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user