Author: lektran
Date: Fri Jun 13 07:42:07 2008
New Revision: 667555
URL:
http://svn.apache.org/viewvc?rev=667555&view=revLog:
Fix based on Han's feedback
Modified:
ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/FindProductConfigItems.groovy
Modified: ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/FindProductConfigItems.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/FindProductConfigItems.groovy?rev=667555&r1=667554&r2=667555&view=diff==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/FindProductConfigItems.groovy (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/FindProductConfigItems.groovy Fri Jun 13 07:42:07 2008
@@ -21,9 +21,9 @@
context.itemsList = itemsList;
// set the page parameters
-viewIndex = parameters.VIEW_INDEX ?: 0;
+viewIndex = Integer.valueOf(parameters.VIEW_INDEX) ?: 0;
-viewSize = parameters.VIEW_SIZE ?: 20;
+viewSize = Integer.valueOf(parameters.VIEW_SIZE) ?: 20;
listSize = itemsList.size();