Author: hansbak
Date: Wed Aug 3 06:39:49 2011
New Revision: 1153359
URL:
http://svn.apache.org/viewvc?rev=1153359&view=revLog:
pagenr and size not remembered after deletion of an item
Modified:
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml
ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml
Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml?rev=1153359&r1=1153358&r2=1153359&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml Wed Aug 3 06:39:49 2011
@@ -194,7 +194,7 @@ under the License.
<request-map uri="updateInvoiceItem">
<security https="true" auth="true"/>
<event type="service-multi" invoke="updateInvoiceItem"/>
- <response name="success" type="view" value="listInvoiceItems"/>
+ <response name="success" type="request-redirect" value="listInvoiceItems"/>
<response name="error" type="view" value="listInvoiceItems"/>
</request-map>
<request-map uri="removeInvoiceItem">
Modified: ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml?rev=1153359&r1=1153358&r2=1153359&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml Wed Aug 3 06:39:49 2011
@@ -346,7 +346,7 @@ under the License.
</field>
</form>
- <form name="EditInvoiceItems" type="multi" list-name="invoiceItems" default-entity-name="InvoiceItem" target="updateInvoiceItem" title="Edit Invoice Items" paginate-target="listInvoiceItems"
+ <form name="EditInvoiceItems" type="multi" list-name="invoiceItems" default-entity-name="InvoiceItem" target="updateInvoiceItem?invoiceId=${invoiceId}&viewSize=${viewSize}&viewIndex=${viewIndex}" title="Edit Invoice Items" paginate-target="listInvoiceItems"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<row-actions>
<set field="total" value="${bsh: