svn commit: r1710515 - /ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1710515 - /ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml

jleroux@apache.org
Author: jleroux
Date: Mon Oct 26 06:39:24 2015
New Revision: 1710515

URL: http://svn.apache.org/viewvc?rev=1710515&view=rev
Log:
Commmits as an example of using performFindList instead of performFind in a list form. "result-map-list" and "list-name" must use "list" as parameter instead of "listIt" and "override-list-size" must use "true" for things to work, see OFBIZ-6422 and OFBIZ-6422 for details

Modified:
    ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml

Modified: ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml?rev=1710515&r1=1710514&r2=1710515&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml Mon Oct 26 06:39:24 2015
@@ -30,11 +30,11 @@ under the License.
         </field>
     </form>
 
-    <form name="ListProducts" list-name="listIt" target="" title="" type="list" paginate-target="FindProduct"
-        odd-row-style="alternate-row" default-table-style="basic-table hover-bar" header-row-style="header-row-2">
+    <form name="ListProducts" list-name="list" target="" title="" type="list" paginate-target="FindProduct"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar" header-row-style="header-row-2" override-list-size="true">
         <actions>
             <set field="entityName" value="Product"/>
-            <service service-name="performFind" result-map="result" result-map-list="listIt">
+            <service service-name="performFindList" result-map="result" result-map-list="list">
                 <field-map field-name="inputFields" from-field="requestParameters"/>
                 <field-map field-name="entityName" from-field="entityName"/>
                 <field-map field-name="orderBy" from-field="parameters.sortField"/>