Author: jleroux
Date: Sat Sep 22 16:24:26 2012
New Revision: 1388832

URL: http://svn.apache.org/viewvc?rev=1388832&view=rev
Log:
A patch from Tom Burns "Pagination Fails in Form ListAgreementTerms " 
https://issues.apache.org/jira/browse/OFBIZ-5013

As mentionned by Tom, ListAgreementRoles pagination also failed: 
paginate-target FindAgreementRoles does not exist. I replaced by 
EditAgreementRoles, works

Modified:
    ofbiz/trunk/applications/accounting/widget/AgreementForms.xml

Modified: ofbiz/trunk/applications/accounting/widget/AgreementForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/AgreementForms.xml?rev=1388832&r1=1388831&r2=1388832&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/AgreementForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/AgreementForms.xml Sat Sep 22 
16:24:26 2012
@@ -205,7 +205,7 @@ under the License.
             </hyperlink>
         </field>
     </form>
-    <form name="ListAgreementTerms" target="updateAgreementTerm" 
list-name="agreementTerms" paginate-target="ListAgreementTerms" title="" 
type="list"
+    <form name="ListAgreementTerms" target="updateAgreementTerm" 
list-name="agreementTerms" paginate-target="EditAgreementTerms" title="" 
type="list"
         odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar">
         <actions>
             <entity-and entity-name="AgreementTerm" list="agreementTerms">
@@ -594,7 +594,7 @@ under the License.
             </hyperlink>
         </field>
     </form>
-    <form name="ListAgreementRoles" list-name="agreementRoles" type="list" 
paginate-target="FindAgreementRoles"
+    <form name="ListAgreementRoles" list-name="agreementRoles" type="list" 
paginate-target="EditAgreementRoles"
         odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar">
         <actions>
             <entity-and entity-name="AgreementRole" use-cache="true" 
list="agreementRoles">


Reply via email to