Author: phuong_vu
Date: 2010-08-27 00:50:15 -0400 (Fri, 27 Aug 2010)
New Revision: 3949
Modified:
portal/branches/branched-r3845/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIApplicationForm.java
Log:
GTNPORTAL-1393 Breadcrumb is incorrectly after edit portlet in Application Registry
Modified:
portal/branches/branched-r3845/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIApplicationForm.java
===================================================================
---
portal/branches/branched-r3845/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIApplicationForm.java 2010-08-27
04:14:26 UTC (rev 3948)
+++
portal/branches/branched-r3845/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIApplicationForm.java 2010-08-27
04:50:15 UTC (rev 3949)
@@ -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