Author: buscob
Date: Sat May 15 15:57:38 2010
New Revision: 944671
URL:
http://svn.apache.org/viewvc?rev=944671&view=revLog:
Applied fix from trunk for revision: 944669
Bug Fix: The pagination controls at the top of the form are not rendered for "multi" forms but only for "list" forms.
Modified:
ofbiz/branches/release10.04/ (props changed)
ofbiz/branches/release10.04/framework/widget/src/org/ofbiz/widget/form/ModelForm.java
Propchange: ofbiz/branches/release10.04/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sat May 15 15:57:38 2010
@@ -1,3 +1,3 @@
/ofbiz/branches/addbirt:831210-885099,885686-886087
/ofbiz/branches/multitenant20100310:921280-927264
-/ofbiz/trunk:939988,939990,939999,940025,940053,940234,940248,940309,940401,940410,940425,940779,940815,940849,941007,941047,941109,941177,941199,941261,941440,941600,941999,942084,942406,942414,942671,942883-942884,943168,943271-943272,944614,944621,944623,944647
+/ofbiz/trunk:939988,939990,939999,940025,940053,940234,940248,940309,940401,940410,940425,940779,940815,940849,941007,941047,941109,941177,941199,941261,941440,941600,941999,942084,942406,942414,942671,942883-942884,943168,943271-943272,944614,944621,944623,944647,944669
Modified: ofbiz/branches/release10.04/framework/widget/src/org/ofbiz/widget/form/ModelForm.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/framework/widget/src/org/ofbiz/widget/form/ModelForm.java?rev=944671&r1=944670&r2=944671&view=diff==============================================================================
--- ofbiz/branches/release10.04/framework/widget/src/org/ofbiz/widget/form/ModelForm.java (original)
+++ ofbiz/branches/release10.04/framework/widget/src/org/ofbiz/widget/form/ModelForm.java Sat May 15 15:57:38 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);