Author: liem_nguyen
Date: 2009-11-10 05:35:30 -0500 (Tue, 10 Nov 2009)
New Revision: 545
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java
Log:
GTNPORTAL-152 In the portlet/gadget details view, display the categories in which the
application is
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java
===================================================================
---
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java 2009-11-10
10:21:54 UTC (rev 544)
+++
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java 2009-11-10
10:35:30 UTC (rev 545)
@@ -113,10 +113,10 @@
newApp.setApplicationName(app.getApplicationName());
newApp.setDisplayName(app.getDisplayName());
newApp.setApplicationType(app.getApplicationType());
- newApp.setApplicationGroup(app.getApplicationGroup());
+ //newApp.setApplicationGroup(app.getApplicationGroup());
newApp.setDescription(app.getDescription());
newApp.setAccessPermissions(app.getAccessPermissions());
- newApp.setUri(app.getUri());
+ //newApp.setUri(app.getUri());
return newApp;
}
}
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java
===================================================================
---
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java 2009-11-10
10:21:54 UTC (rev 544)
+++
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java 2009-11-10
10:35:30 UTC (rev 545)
@@ -221,10 +221,10 @@
Application app = new Application();
app.setApplicationName(gadget.getName());
- app.setApplicationGroup(GadgetApplication.EXO_GADGET_GROUP);
+ //app.setApplicationGroup(GadgetApplication.EXO_GADGET_GROUP);
app.setApplicationType(org.exoplatform.web.application.Application.EXO_GADGET_TYPE);
app.setDisplayName(gadget.getTitle());
- app.setUri(gadget.getUrl());
+ //app.setUri(gadget.getUrl());
String description =
(gadget.getDescription() == null || gadget.getDescription().length() < 1)
? gadget.getName() : gadget
.getDescription();