Author: ndkhoiits
Date: 2010-09-23 07:02:06 -0400 (Thu, 23 Sep 2010)
New Revision: 4346
Modified:
portal/branches/branch-GTNPORTAL-1493/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalForm.java
Log:
GTNPORTAL-1485 Refresh InitParam object instead of legacy
Modified:
portal/branches/branch-GTNPORTAL-1493/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalForm.java
===================================================================
---
portal/branches/branch-GTNPORTAL-1493/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalForm.java 2010-09-23
11:01:32 UTC (rev 4345)
+++
portal/branches/branch-GTNPORTAL-1493/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalForm.java 2010-09-23
11:02:06 UTC (rev 4346)
@@ -124,7 +124,7 @@
}
WebuiRequestContext context = WebuiRequestContext.getCurrentInstance();
Param param = initParams.getParam("PortalTemplateConfigOption");
- List<SelectItemCategory> portalTemplates =
(List<SelectItemCategory>)param.getMapGroovyObject(context);
+ List<SelectItemCategory> portalTemplates =
(List<SelectItemCategory>)param.getFreshObject(context);
for (SelectItemCategory itemCategory : portalTemplates)
{
uiTemplateInput.getItemCategories().add(itemCategory);
Show replies by date