Author: mrisaliti
Date: Tue May 27 14:45:05 2008
New Revision: 660730
URL:
http://svn.apache.org/viewvc?rev=660730&view=revLog:
Converted EditProductQuickAdmin.bsh to groovy (Part of issue OFBIZ-1801)
Modified:
ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductQuickAdmin.groovy
Modified: ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductQuickAdmin.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductQuickAdmin.groovy?rev=660730&r1=660729&r2=660730&view=diff==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductQuickAdmin.groovy (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductQuickAdmin.groovy Tue May 27 14:45:05 2008
@@ -23,14 +23,11 @@
import org.ofbiz.entity.util.*
import org.ofbiz.product.product.*
-nowTimestampString = UtilDateTime.nowTimestamp().toString();
-context.nowTimestampString = nowTimestampString;
+context.nowTimestampString = UtilDateTime.nowTimestamp().toString();
-Collection assocTypes = delegator.findList("ProductAssocType", null, null, null, null, false);
-context.assocTypes = assocTypes;
+context.assocTypes = delegator.findList("ProductAssocType", null, null, null, null, false);
-Collection featureTypes = delegator.findList("ProductFeatureType", null, null, null, null, false);
-context.featureTypes = featureTypes;
+context.featureTypes = delegator.findList("ProductFeatureType", null, null, null, null, false);
// add/remove feature types
addedFeatureTypes = (HashMap) session.getAttribute("addedFeatureTypes");