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/16 13:32:06 UTC
svn commit: r1787184 - in
/ofbiz/ofbiz-framework/trunk/applications/accounting/widget: CostForms.xml
CostScreens.xml
Author: jleroux
Date: Thu Mar 16 13:32:06 2017
New Revision: 1787184
URL: http://svn.apache.org/viewvc?rev=1787184&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
This was reverted and is now back with bugs fixed
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=1787184&r1=1787183&r2=1787184&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/widget/CostForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/widget/CostForms.xml Thu Mar 16 13:32:06 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" 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=1787184&r1=1787183&r2=1787184&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/widget/CostScreens.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/widget/CostScreens.xml Thu Mar 16 13:32:06 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>