Author: hoang_to
Date: 2010-02-11 05:49:16 -0500 (Thu, 11 Feb 2010)
New Revision: 1630
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComposer.java
Log:
Fix error while adding portlet to a page
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComposer.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComposer.java 2010-02-11
10:21:09 UTC (rev 1629)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComposer.java 2010-02-11
10:49:16 UTC (rev 1630)
@@ -649,10 +649,12 @@
dataService.save(page);
uiToolPanel.setUIComponent(null);
+ uiPage.getChildren().clear();
PortalDataMapper.toUIPage(uiPage, page);
// Update UIPage cache on UIPortal
uiPortal.setUIPage(pageId, uiPage);
-
+ uiPortal.refreshUIPage();
+
if (PortalProperties.SESSION_ALWAYS.equals(uiPortal.getSessionAlive()))
{
uiPortalApp.setSessionOpen(true);
Show replies by date