svn commit: r1786916 - in /ofbiz/ofbiz-framework/trunk/applications/accounting/widget: CostForms.xml CostScreens.xml

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

svn commit: r1786916 - in /ofbiz/ofbiz-framework/trunk/applications/accounting/widget: CostForms.xml CostScreens.xml

jleroux@apache.org
Author: jleroux
Date: Tue Mar 14 15:51:38 2017
New Revision: 1786916

URL: http://svn.apache.org/viewvc?rev=1786916&view=rev
Log:
Improved: refactor list related forms in Cost widgets
(OFBIZ-9229)

Refactoring various list forms into grids
Refactoring various list form references in screen widgets


Thanks: Pierre Smits

Modified:
    ofbiz/ofbiz-framework/trunk/applications/accounting/widget/CostForms.xml
    ofbiz/ofbiz-framework/trunk/applications/accounting/widget/CostScreens.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/widget/CostForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/widget/CostForms.xml?rev=1786916&r1=1786915&r2=1786916&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/widget/CostForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/widget/CostForms.xml Tue Mar 14 15:51:38 2017
@@ -20,7 +20,7 @@ under the License.
 
 <forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://ofbiz.apache.org/Widget-Form" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Form http://ofbiz.apache.org/dtds/widget-form.xsd">
-    <form name="ListCostComponentCalc" type="list" list-name="allCostComponentCalcs" use-row-submit="true" target="updateCostComponentCalc"
+    <grid name="ListCostComponentCalc" type="list" list-name="allCostComponentCalcs" use-row-submit="true" target="updateCostComponentCalc"
         odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar" paginate-target="EditCostCalcs">
         <auto-fields-entity entity-name="CostComponentCalc" default-field-type="display"/>
         <field name="costComponentCalcId" widget-style="buttontext"></field>
@@ -41,7 +41,8 @@ under the License.
                 <parameter param-name="costComponentCalcId"/>
             </hyperlink>
         </field>
-    </form>
+    </grid>
+    
     <form name="AddCostComponentCalc" type="single" target="createCostComponentCalc"
         header-row-style="header-row" default-table-style="basic-table">
         <auto-fields-service service-name="createCostComponentCalc"/>

Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/widget/CostScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/widget/CostScreens.xml?rev=1786916&r1=1786915&r2=1786916&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/widget/CostScreens.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/widget/CostScreens.xml Tue Mar 14 15:51:38 2017
@@ -40,7 +40,7 @@ under the License.
                         <screenlet id="AccountingCostComponentCalcPanel" title="${uiLabelMap.AccountingCreateCostComponentCalc}" collapsible="true">
                             <include-form name="AddCostComponentCalc" location="component://accounting/widget/CostForms.xml"/>
                         </screenlet>
-                        <include-form name="ListCostComponentCalc" location="component://accounting/widget/CostForms.xml"/>
+                        <include-grid name="ListCostComponentCalc" location="component://accounting/widget/CostForms.xml"/>
                     </decorator-section>
                 </decorator-screen>
             </widgets>