Author: hoang_to
Date: 2010-02-10 04:06:38 -0500 (Wed, 10 Feb 2010)
New Revision: 1608
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComposer.java
Log:
GTNPORTAL-613: Don't show edit page with root in special case
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-10
07:30:24 UTC (rev 1607)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComposer.java 2010-02-10
09:06:38 UTC (rev 1608)
@@ -432,6 +432,11 @@
uiPortal.getChildren().clear();
PortalDataMapper.toUIPortal(uiPortal, uiPortalApp.getUserPortalConfig());
+ //To init the UIPage, that fixed a bug on AdminToolbarPortlet when edit the
layout. Here is only a
+ //temporal solution. Complete solution is to avoid mapping UIPortal -- model,
that requires
+ //multiple UIPortal (already available) and concept of SiteConfig
+ uiPortal.refreshUIPage();
+
PageNodeEvent<UIPortal> pnevent =
new PageNodeEvent<UIPortal>(uiPortal,
PageNodeEvent.CHANGE_PAGE_NODE, uri);
uiPortal.broadcast(pnevent, Event.Phase.PROCESS);
Show replies by date