Author: apatel
Date: Fri Jul 10 13:29:11 2009
New Revision: 792946
URL:
http://svn.apache.org/viewvc?rev=792946&view=revLog:
Read parameter values from parameters map instead of request.
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=792946&r1=792945&r2=792946&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 Fri Jul 10 13:29:11 2009
@@ -72,9 +72,9 @@
context.addedFeatureTypes = addedFeatureTypes;
context.featuresByType = featuresByType;
-productId = request.getParameter("productId");
+productId = parameters.get("productId");
if (!productId) {
- productId = request.getParameter("PRODUCT_ID");
+ productId = parameters.get("PRODUCT_ID");
}
if (!productId) {
productId = request.getAttribute("productId");