Why is this needed for this particular form? Isn't this automatically managed by the from widget?
-Bruno 2010/12/15 <hans...@apache.org> > Author: hansbak > Date: Wed Dec 15 08:15:49 2010 > New Revision: 1049451 > > URL: http://svn.apache.org/viewvc?rev=1049451&view=rev > Log: > preserve viewindex and size in multipage lists > > Modified: > ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml > > Modified: ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml > URL: > http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml?rev=1049451&r1=1049450&r2=1049451&view=diff > > ============================================================================== > --- ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml (original) > +++ ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml Wed Dec 15 > 08:15:49 2010 > @@ -355,6 +355,8 @@ under the License. > if(quantity == null || quantity.compareTo(BigDecimal.ZERO) > == 0) quantity = BigDecimal.ONE; > return(quantity.multiply(amount));}"/> > </row-actions> > + <field name="viewSize"><hidden value="${viewSize}"/></field> > + <field name="viewIndex"><hidden value="${viewIndex}"/></field> > <field name="invoiceId"><hidden/></field> > <field name="invoiceItemSeqId" widget-style="buttontext"> > <hyperlink target="listInvoiceItems" > description="${invoiceItemSeqId}"> > @@ -384,6 +386,8 @@ under the License. > <hyperlink description="${uiLabelMap.CommonRemove}" > target="removeInvoiceItem"> > <parameter param-name="invoiceId"/> > <parameter param-name="invoiceItemSeqId"/> > + <parameter param-name="viewIndex"/> > + <parameter param-name="viewSize"/> > </hyperlink> > </field> > </form> > @@ -467,6 +471,8 @@ under the License. > <hyperlink description="${uiLabelMap.CommonRemove}" > target="removeInvoiceApplication"> > <parameter param-name="paymentApplicationId"/> > <parameter param-name="invoiceId"/> > + <parameter param-name="viewIndex"/> > + <parameter param-name="viewSize"/> > </hyperlink> > </field> > </form> > @@ -523,6 +529,8 @@ under the License. > <parameter param-name="invoiceId"/> > <parameter param-name="partyId"/> > <parameter param-name="roleTypeId"/> > + <parameter param-name="viewIndex"/> > + <parameter param-name="viewSize"/> > </hyperlink> > </field> > </form> > > >