Author: hoang_to
Date: 2010-09-09 02:52:02 -0400 (Thu, 09 Sep 2010)
New Revision: 4111
Modified:
exo/portal/branches/3.1.x/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIApplicationForm.java
Log:
EXOGTN-53: Breadcumb is updated incorrectly after editting portlet in Application Registry
portlet
Modified:
exo/portal/branches/3.1.x/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIApplicationForm.java
===================================================================
---
exo/portal/branches/3.1.x/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIApplicationForm.java 2010-09-09
04:57:10 UTC (rev 4110)
+++
exo/portal/branches/3.1.x/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIApplicationForm.java 2010-09-09
06:52:02 UTC (rev 4111)
@@ -20,6 +20,7 @@
package org.exoplatform.applicationregistry.webui.component;
import org.exoplatform.application.registry.Application;
+import org.exoplatform.application.registry.ApplicationCategory;
import org.exoplatform.application.registry.ApplicationRegistryService;
import org.exoplatform.portal.application.PortalRequestContext;
import org.exoplatform.portal.webui.portal.UIPortal;
@@ -112,8 +113,9 @@
application.setDisplayName(application.getApplicationName());
}
service.update(application);
- //uiOrganizer.setSelectedApplication(uiOrganizer.getSelectedApplication());
+ ApplicationCategory selectedCat = uiOrganizer.getSelectedCategory();
uiOrganizer.reload();
+ uiOrganizer.setSelectedCategory(selectedCat);
uiOrganizer.setSelectedApplication(application);
ctx.addUIComponentToUpdateByAjax(uiOrganizer);
}
Show replies by date