[gatein-commits] gatein SVN: r5129 - exo/portal/branches/3.1.x/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component.
do-not-reply at jboss.org
do-not-reply at jboss.org
Wed Nov 17 02:32:25 EST 2010
Author: phuong_vu
Date: 2010-11-17 02:32:25 -0500 (Wed, 17 Nov 2010)
New Revision: 5129
Modified:
exo/portal/branches/3.1.x/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java
Log:
EXOGTN-52 Show gadget wrong after continue click Click here to add into categories link
Modified: exo/portal/branches/3.1.x/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java
===================================================================
--- exo/portal/branches/3.1.x/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java 2010-11-17 07:23:30 UTC (rev 5128)
+++ exo/portal/branches/3.1.x/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java 2010-11-17 07:32:25 UTC (rev 5129)
@@ -146,7 +146,14 @@
appInfo.getChild(UICategorySelector.class).setRendered(false);
UIApplicationRegistryPortlet uiPortlet = appInfo.getAncestorOfType(UIApplicationRegistryPortlet.class);
UIApplicationOrganizer uiOrganizer = uiPortlet.getChild(UIApplicationOrganizer.class);
+ UIGadgetManagement uiGadgetManagement = uiPortlet.getChild(UIGadgetManagement.class);
+
uiOrganizer.reload();
+ if (uiGadgetManagement != null)
+ {
+ uiGadgetManagement.setSelectedGadget(selector.getApplication().getApplicationName());
+ }
+
event.getRequestContext().addUIComponentToUpdateByAjax(appInfo);
}
More information about the gatein-commits
mailing list