Author: theute
Date: 2011-09-08 12:26:22 -0400 (Thu, 08 Sep 2011)
New Revision: 7341
Modified:
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComposer.java
Log:
JBEPP-1146 Perf issue when accessing 'View Page Properties' when many groups
Modified:
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComposer.java
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComposer.java 2011-09-08
13:16:54 UTC (rev 7340)
+++
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComposer.java 2011-09-08
16:26:22 UTC (rev 7341)
@@ -627,8 +627,8 @@
UIMaskWorkspace uiMaskWS =
uiPortalApp.getChildById(UIPortalApplication.UI_MASK_WS_ID);
UIPageForm uiPageForm = uiPortalApp.createUIComponent(UIPageForm.class, null,
null);
- UIComponent uiPage = uiToolPanel.findFirstComponentOfType(UIPage.class);
- uiPageForm.setValues((UIPage)uiPage);
+ UIPage uiPage = uiToolPanel.findFirstComponentOfType(UIPage.class);
+ uiPageForm.buildForm(uiPage);
uiMaskWS.setUIComponent(uiPageForm);
event.getRequestContext().addUIComponentToUpdateByAjax(uiMaskWS);
}
Show replies by date