ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jler...@apache.org
Subject svn commit: r1789781 - in /ofbiz/ofbiz-framework/trunk/applications/accounting/widget: TransactionForms.xml TransactionScreens.xml
Date Sat, 01 Apr 2017 09:14:49 GMT
Author: jleroux
Date: Sat Apr  1 09:14:49 2017
New Revision: 1789781

URL: http://svn.apache.org/viewvc?rev=1789781&view=rev
Log:
Improved: Refactor lists related to gateway transactions in accounting
(OFBIZ-9282)

Refactor various list forms into grids.
Refactor various list form references in screen widgets.

Thanks: Pierre Smits

Modified:
    ofbiz/ofbiz-framework/trunk/applications/accounting/widget/TransactionForms.xml
    ofbiz/ofbiz-framework/trunk/applications/accounting/widget/TransactionScreens.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/widget/TransactionForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/widget/TransactionForms.xml?rev=1789781&r1=1789780&r2=1789781&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/widget/TransactionForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/widget/TransactionForms.xml Sat Apr
 1 09:14:49 2017
@@ -62,7 +62,7 @@ under the License.
     </form>
     
     <!-- Brings up a list of gateway responses. TODO: should cut down data displayd -->
-    <form name="ListGatewayResponses" type="list" use-row-submit="true" target="" title=""
list-name="listIt" paginate-target="FindGatewayResponses"
+    <grid name="ListGatewayResponses" use-row-submit="true" target="" title="" list-name="listIt"
paginate-target="FindGatewayResponses"
         odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
         <actions>
             <set field="entityName" value="PaymentGatewayResponse"/>
@@ -91,7 +91,7 @@ under the License.
         <field name="transCodeEnumId">
             <display-entity entity-name="Enumeration" key-field-name="enumId"/>
         </field>
-    </form>
+    </grid>
     
     <!-- presents the orderId and orderPaymentPreferenceId for a gateway response with
links to the order -->
     <form name="ViewGatewayResponseRelations" type="single" target="" title=""
@@ -103,7 +103,8 @@ under the License.
         </field>
         <field name="orderPaymentPreferenceId"><display/></field>
     </form>
-    <form name="ViewGatewayResponsePayments" type="list" list-name="payments" title=""
header-row-style="header-row-2" default-table-style="basic-table hover-bar">
+    
+    <grid name="ViewGatewayResponsePayments" list-name="payments" title="" header-row-style="header-row-2"
default-table-style="basic-table hover-bar">
         <field name="paymentId" widget-style="buttontext">
             <hyperlink description="${paymentId}" target="paymentOverview">
                 <parameter param-name="paymentId"/>
@@ -129,7 +130,7 @@ under the License.
         <field name="effectiveDate"><display/></field>
         <field name="currencyUomId"><hidden/></field>
         <field name="amount"><display also-hidden="false" type="currency" currency="${currencyUomId}"/></field>
-    </form>
+    </grid>
     
     <!-- displays the gateway response in detail -->
     <form name="ViewGatewayResponse" type="single" target="processCaptureTransaction"
title="" default-map-name="paymentGatewayResponse"

Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/widget/TransactionScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/widget/TransactionScreens.xml?rev=1789781&r1=1789780&r2=1789781&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/widget/TransactionScreens.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/widget/TransactionScreens.xml Sat
Apr  1 09:14:49 2017
@@ -70,7 +70,7 @@ under the License.
                                         <include-form name="FindGatewayResponses" location="component://accounting/widget/TransactionForms.xml"/>
                                     </decorator-section>
                                     <decorator-section name="search-results">
-                                        <include-form name="ListGatewayResponses" location="component://accounting/widget/TransactionForms.xml"/>
+                                        <include-grid name="ListGatewayResponses" location="component://accounting/widget/TransactionForms.xml"/>
                                     </decorator-section>
                                 </decorator-screen>
                             </widgets>
@@ -102,7 +102,7 @@ under the License.
                             <include-form name="ViewGatewayResponseRelations" location="component://accounting/widget/TransactionForms.xml"/>
                         </screenlet>
                         <screenlet title="${uiLabelMap.AccountingPaymentsMenu}">
-                            <include-form name="ViewGatewayResponsePayments" location="component://accounting/widget/TransactionForms.xml"/>
+                            <include-grid name="ViewGatewayResponsePayments" location="component://accounting/widget/TransactionForms.xml"/>
                         </screenlet>
                         <screenlet title="${uiLabelMap.PageTitleViewGatewayResponse}">
                             <include-form name="ViewGatewayResponse" location="component://accounting/widget/TransactionForms.xml"/>



Mime
View raw message