Author: kien_nguyen
Date: 2011-05-15 22:41:01 -0400 (Sun, 15 May 2011)
New Revision: 6471
Modified:
portal/branches/branch-showinfobar/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComponentActionListener.java
Log:
GTNPORTAL-1558 fix bug getting portal
Modified:
portal/branches/branch-showinfobar/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComponentActionListener.java
===================================================================
---
portal/branches/branch-showinfobar/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComponentActionListener.java 2011-05-13
01:23:40 UTC (rev 6470)
+++
portal/branches/branch-showinfobar/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComponentActionListener.java 2011-05-16
02:41:01 UTC (rev 6471)
@@ -336,7 +336,7 @@
//TODO Wait to fix issue EXOGTN-213 and then
//we should get "showInfobar" from current UI portal
UserPortalConfigService service =
uiApp.getApplicationComponent(UserPortalConfigService.class);
-
uiPortlet.setShowInfoBar(service.getUserPortalConfig(Util.getUIPortal().getOwner(),
pcontext.getRemoteUser()).getPortalConfig().isShowInfobar());
+
uiPortlet.setShowInfoBar(service.getUserPortalConfig(pcontext.getPortalOwner(),
pcontext.getRemoteUser()).getPortalConfig().isShowInfobar());
uiSource = uiPortlet;
}
List<UIComponent> children = uiTarget.getChildren();