svn commit: r1592745 - /ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml

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

svn commit: r1592745 - /ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml

jleroux@apache.org
Author: jleroux
Date: Tue May  6 13:45:38 2014
New Revision: 1592745

URL: http://svn.apache.org/r1592745
Log:
Reverts r1592530 for OFBIZ-5629. Ahmad Ludin reported on dev ML that it was not working. I'm sure I saw it working,  now wonder how it did work.

I also spotted something weird. If you change the name of the performFind result-map-list from listIt to eg listIts (in both performFind and removeDuplicateWorkEfforts), you get no results

Modified:
    ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml

Modified: ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml?rev=1592745&r1=1592744&r2=1592745&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml (original)
+++ ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml Tue May  6 13:45:38 2014
@@ -396,7 +396,7 @@ under the License.
         </sort-order>
     </form>
 
-    <form name="ListWorkEfforts" type="list" list-name="listIt" paginate-target="ListWorkEfforts"
+    <form name="ListWorkEfforts" type="list" list-name="workEfforts" paginate-target="ListWorkEfforts"
         odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
         <actions>
             <service service-name="performFind" result-map="result" result-map-list="listIt">
@@ -404,9 +404,9 @@ under the License.
                 <field-map field-name="entityName" value="WorkEffortFindView"/>
                 <field-map field-name="orderBy" value="lastModifiedDate DESC"/>
                 <field-map field-name="viewIndex" from-field="viewIndex"/>
-                <field-map field-name="viewSize" from-field="viewSize"/>
+                <field-map field-name="viewSize" from-field="viewSize"/>              
             </service>
-            <service service-name="removeDuplicateWorkEfforts" result-map="result" result-map-list="listIt">
+            <service service-name="removeDuplicateWorkEfforts" result-map="result" result-map-list="workEfforts">
                 <field-map field-name="workEffortIterator" from-field="listIt"/>
             </service>
         </actions>