svn commit: r944669 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r944669 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java

buscob
Author: buscob
Date: Sat May 15 15:42:08 2010
New Revision: 944669

URL: http://svn.apache.org/viewvc?rev=944669&view=rev
Log:
Bug Fix: The pagination controls at the top of the form are not rendered for "multi" forms but only for "list" forms.

Modified:
    ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java

Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java?rev=944669&r1=944668&r2=944669&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java Sat May 15 15:42:08 2010
@@ -1114,6 +1114,9 @@ public class ModelForm extends ModelWidg
             formStringRenderer.renderFormOpen(writer, context, this);
         }
 
+        // prepare the items iterator and compute the pagination parameters
+        this.preparePager(context);
+
         // render formatting wrapper open
         formStringRenderer.renderFormatListWrapperOpen(writer, context, this);