You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2008/08/24 11:28:53 UTC

svn commit: r688477 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java

Author: jleroux
Date: Sun Aug 24 02:28:52 2008
New Revision: 688477

URL: http://svn.apache.org/viewvc?rev=688477&view=rev
Log:
I agree with Bilgin that 100 here is too much. Bilgin suggested 10 but I even prefer 5. I think that as an embedded part it's enough. Feel free to express your opinion and I will be happy to adapt following consensus.
This will avoid Bilgin to create a Jira issue ;o)

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=688477&r1=688476&r2=688477&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 Sun Aug 24 02:28:52 2008
@@ -59,7 +59,7 @@
     protected FlexibleStringExpander paginateTarget;
     protected boolean paginate = true;
     
-    public static int DEFAULT_PAGE_SIZE = 100;
+    public static int DEFAULT_PAGE_SIZE = 5;
     protected int viewIndex = 0;
     protected int viewSize = DEFAULT_PAGE_SIZE;
     protected int lowIndex = -1;