Author: truong.le
Date: 2009-12-28 02:53:00 -0500 (Mon, 28 Dec 2009)
New Revision: 1146
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIAddApplicationForm.java
Log:
GTNPORTAL-403: Don't update application into category after choose in add application
form in Application registry
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIAddApplicationForm.java
===================================================================
---
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIAddApplicationForm.java 2009-12-28
03:39:47 UTC (rev 1145)
+++
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIAddApplicationForm.java 2009-12-28
07:53:00 UTC (rev 1146)
@@ -279,10 +279,10 @@
appRegService.save(selectedCate, app);
uiOrganizer.reload();
- uiOrganizer.setSelectedCategory(selectedCate);
+ uiOrganizer.setSelectedCategory(selectedCate.getName());
uiOrganizer.selectApplication(app.getApplicationName());
ctx.addUIComponentToUpdateByAjax(uiOrganizer);
- }
+ }
private Application cloneApplication(Application app)
{