Author: liem_nguyen
Date: 2009-11-12 22:40:52 -0500 (Thu, 12 Nov 2009)
New Revision: 582
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/toolbar/webui/component/UIUserToolBarSitePortlet.java
Log:
GTNPORTAL-95 Don't show the menu item ( home) of portal when selecting a group page in
the navigation group
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/toolbar/webui/component/UIUserToolBarSitePortlet.java
===================================================================
---
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/toolbar/webui/component/UIUserToolBarSitePortlet.java 2009-11-12
23:13:56 UTC (rev 581)
+++
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/toolbar/webui/component/UIUserToolBarSitePortlet.java 2009-11-13
03:40:52 UTC (rev 582)
@@ -55,7 +55,7 @@
public String getCurrentPortal()
{
- return Util.getUIPortal().getName();
+ return Util.getPortalRequestContext().getPortalOwner();
}
public String getPortalURI(String portalName)
@@ -65,7 +65,7 @@
public PageNavigation getCurrentPortalNavigation() throws Exception
{
- PageNavigation navi = getPageNavigation(PortalConfig.PORTAL_TYPE + "::" +
Util.getUIPortal().getName());
+ PageNavigation navi = getPageNavigation(PortalConfig.PORTAL_TYPE + "::" +
getCurrentPortal());
String remoteUser = Util.getPortalRequestContext().getRemoteUser();
return PageNavigationUtils.filter(navi, remoteUser);
}
Show replies by date