[gatein-commits] gatein SVN: r429 - portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page.

do-not-reply at jboss.org do-not-reply at jboss.org
Sun Oct 25 23:09:02 EDT 2009


Author: liem_nguyen
Date: 2009-10-25 23:09:01 -0400 (Sun, 25 Oct 2009)
New Revision: 429

Modified:
   portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageActionListener.java
Log:
PORTAL-3601 Sesstion time out when click switch view mode in special case

Modified: portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageActionListener.java
===================================================================
--- portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageActionListener.java	2009-10-25 22:09:27 UTC (rev 428)
+++ portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageActionListener.java	2009-10-26 03:09:01 UTC (rev 429)
@@ -70,7 +70,7 @@
          {
             UserPortalConfigService configService = uiPortalApp.getApplicationComponent(UserPortalConfigService.class);
             String remoteUser = Util.getPortalRequestContext().getRemoteUser();
-            UserPortalConfig portalConfig = configService.getUserPortalConfig(uiPortal.getOwner(), remoteUser);
+            UserPortalConfig portalConfig = configService.getUserPortalConfig(Util.getPortalRequestContext().getPortalOwner(), remoteUser);
             uiPortal.getChildren().clear();
             PortalDataMapper.toUIPortal(uiPortal, portalConfig);
             uiPortalApp.setModeState(UIPortalApplication.NORMAL_MODE);



More information about the gatein-commits mailing list