You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2017/03/15 07:24:34 UTC

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

Author: jleroux
Date: Wed Mar 15 07:24:34 2017
New Revision: 1786987

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

I found 1 error I did not spot earlier

<grid name="ListCostComponentCalc"
uses type="list"


I prefer to revert because the grid concept is questionned by Taher. No need to
complicate later if we ever revert it all

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=1786987&r1=1786986&r2=1786987&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/widget/CostForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/widget/CostForms.xml Wed Mar 15 07:24:34 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">
-    <grid name="ListCostComponentCalc" type="list" list-name="allCostComponentCalcs" use-row-submit="true" target="updateCostComponentCalc"
+    <form 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,8 +41,7 @@ under the License.
                 <parameter param-name="costComponentCalcId"/>
             </hyperlink>
         </field>
-    </grid>
-    
+    </form>
     <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=1786987&r1=1786986&r2=1786987&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/widget/CostScreens.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/widget/CostScreens.xml Wed Mar 15 07:24:34 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-grid name="ListCostComponentCalc" location="component://accounting/widget/CostForms.xml"/>
+                        <include-form name="ListCostComponentCalc" location="component://accounting/widget/CostForms.xml"/>
                     </decorator-section>
                 </decorator-screen>
             </widgets>