Author: haint
Date: 2011-11-06 21:40:18 -0500 (Sun, 06 Nov 2011)
New Revision: 7990
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComponentActionListener.java
Log:
GTNPORTAL-2262 Exception when viewing Application registry portlet in view mode
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComponentActionListener.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComponentActionListener.java 2011-11-07
02:36:00 UTC (rev 7989)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComponentActionListener.java 2011-11-07
02:40:18 UTC (rev 7990)
@@ -469,8 +469,7 @@
{
public void execute(Event<UIPortal> event) throws Exception
{
- UIPortal uiPortal = event.getSource();
- UIPortalApplication application =
uiPortal.getAncestorOfType(UIPortalApplication.class);
+ UIPortalApplication application = Util.getUIPortalApplication();
UIPortalComposer composer =
application.findFirstComponentOfType(UIPortalComposer.class);
UITabPane uiTabPane = composer.getChild(UITabPane.class);
String appListId = uiTabPane.getChild(UIApplicationList.class).getId();
Show replies by date