Author: kien_nguyen
Date: 2011-10-19 00:39:39 -0400 (Wed, 19 Oct 2011)
New Revision: 7772
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetManagement.java
Log:
GTNPORTAL-2188 Still show local gadget in category which was deleted
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetManagement.java
===================================================================
---
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetManagement.java 2011-10-19
04:38:31 UTC (rev 7771)
+++
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetManagement.java 2011-10-19
04:39:39 UTC (rev 7772)
@@ -193,9 +193,9 @@
removeFromApplicationRegistry(name);
UIApplicationOrganizer uiOrganizer =
uiManagement.getParent().findFirstComponentOfType(UIApplicationOrganizer.class);
- ApplicationCategory selectedCate = uiOrganizer.getSelectedCategory();
+ String selectedCateName = uiOrganizer.getSelectedCategory().getName();
uiOrganizer.reload();
- uiOrganizer.setSelectedCategory(selectedCate);
+ uiOrganizer.setSelectedCategory(selectedCateName);
ctx.addUIComponentToUpdateByAjax(uiManagement);
}
Show replies by date