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:
Jan Vonka
2007-08-30 15:59:07 +00:00
parent 7c238af116
commit 4c657db443
9 changed files with 848 additions and 719 deletions

View File

@@ -66,7 +66,7 @@ public class UISpaceSelector extends AbstractItemSelector
{
String id = null;
if (this.navigationId != null && this.navigationId.equals(Application.getCompanyRootId()) == false)
if (this.navigationId != null && this.navigationId.equals(Application.getCompanyRootId(context)) == false)
{
try
{
@@ -107,7 +107,7 @@ public class UISpaceSelector extends AbstractItemSelector
public Collection<NodeRef> getRootChildren(FacesContext context)
{
NodeRef rootRef = new NodeRef(Repository.getStoreRef(), Application.getCompanyRootId());
NodeRef rootRef = new NodeRef(Repository.getStoreRef(), Application.getCompanyRootId(context));
// get a child association reference back from the parent node to satisfy
// the generic API we have in the abstract super class