Author: hansbak
Date: Wed Sep 30 04:02:35 2009
New Revision: 820167
URL:
http://svn.apache.org/viewvc?rev=820167&view=revLog:
apaces for tabs
Modified:
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java?rev=820167&r1=820166&r2=820167&view=diff==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java Wed Sep 30 04:02:35 2009
@@ -145,7 +145,7 @@
contextMs.put(entryName, item);
}
contextMs.put("itemIndex", Integer.valueOf(itemIndex));
-
+
if (iterateIndex < listSize) {
contextMs.put("iterateId",String.valueOf(entryName+iterateIndex));
iterateIndex++;
@@ -254,7 +254,7 @@
public void getListLimits(Map<String, Object> context, List<?> items) {
listSize = items.size();
- if (paginate) {
+ if (paginate) {
try {
Map params = (Map)context.get("parameters");
String viewIndexString = (String) params.get("VIEW_INDEX" + "_" + getPaginatorNumber(context));
@@ -326,7 +326,7 @@
listSize = -1;
}
-/*
+ /*
int highIndex = -1;
try {
highIndex = modelForm.getHighIndex();
@@ -340,7 +340,7 @@
} catch (Exception e) {
lowIndex = 0;
}
-*/
+ */
int lowIndex = viewIndex * viewSize;
int highIndex = (viewIndex + 1) * viewSize;