Author: buscob
Date: Sat May 15 15:42:08 2010
New Revision: 944669
URL:
http://svn.apache.org/viewvc?rev=944669&view=revLog:
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);