svn commit: r1787220 - in /ofbiz/ofbiz-framework/trunk/applications/party/widget/partymgr: PartyContactListForms.xml PartyContactListScreens.xml

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

svn commit: r1787220 - in /ofbiz/ofbiz-framework/trunk/applications/party/widget/partymgr: PartyContactListForms.xml PartyContactListScreens.xml

jleroux@apache.org
Author: jleroux
Date: Thu Mar 16 17:35:57 2017
New Revision: 1787220

URL: http://svn.apache.org/viewvc?rev=1787220&view=rev
Log:
Improved: Refactor lists related to contactlist forms in partymgr
(OFBIZ-9266)

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

Thanks: Pierre Smits

Modified:
    ofbiz/ofbiz-framework/trunk/applications/party/widget/partymgr/PartyContactListForms.xml
    ofbiz/ofbiz-framework/trunk/applications/party/widget/partymgr/PartyContactListScreens.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/party/widget/partymgr/PartyContactListForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/widget/partymgr/PartyContactListForms.xml?rev=1787220&r1=1787219&r2=1787220&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/party/widget/partymgr/PartyContactListForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/party/widget/partymgr/PartyContactListForms.xml Thu Mar 16 17:35:57 2017
@@ -19,7 +19,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="ListPartyContactLists" type="list" target="updateContactListParty"
+    <grid name="ListPartyContactLists" target="updateContactListParty"
         separate-columns="false" header-row-style="header-row-2"  odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
         <actions>
             <entity-and entity-name="ContactListParty">
@@ -65,7 +65,7 @@ under the License.
             </drop-down>
         </field>
         <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field>
-    </form>
+    </grid>
 
     <form name="AddPartyContactList" type="single" target="createContactListParty"
         header-row-style="header-row" default-table-style="basic-table">
@@ -92,7 +92,7 @@ under the License.
         <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field>
     </form>
 
-    <form name="ListLookupContactList" type="list" target="LookupContactList" default-map-name="contactList"
+    <grid name="ListLookupContactList" target="LookupContactList" default-map-name="contactList"
         odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
         <actions>
             <entity-condition entity-name="ContactList"/>
@@ -104,5 +104,5 @@ under the License.
         <field name="contactListTypeId"><display-entity entity-name="ContactListType"/></field>
         <field name="contactMechTypeId" title="${uiLabelMap.PartyContactMechType}"><display-entity entity-name="ContactMechType"/></field>
         <field name="marketingCampaignId"><display-entity entity-name="MarketingCampaign" description="${campaignName}"/></field>
-    </form>
+    </grid>
 </forms>

Modified: ofbiz/ofbiz-framework/trunk/applications/party/widget/partymgr/PartyContactListScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/widget/partymgr/PartyContactListScreens.xml?rev=1787220&r1=1787219&r2=1787220&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/party/widget/partymgr/PartyContactListScreens.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/party/widget/partymgr/PartyContactListScreens.xml Thu Mar 16 17:35:57 2017
@@ -41,7 +41,7 @@ under the License.
                                 <screenlet id="AddPartyContactListPanel" title="${uiLabelMap.PartyContactListPartyCreate}" collapsible="true">
                                     <include-form name="AddPartyContactList" location="component://party/widget/partymgr/PartyContactListForms.xml"/>
                                 </screenlet>
-                                <include-form name="ListPartyContactLists" location="component://party/widget/partymgr/PartyContactListForms.xml"/>
+                                <include-grid name="ListPartyContactLists" location="component://party/widget/partymgr/PartyContactListForms.xml"/>
                             </widgets>
                             <fail-widgets>
                                 <label style="h3">${uiLabelMap.PartyMgrViewPermissionError}</label>
@@ -68,7 +68,7 @@ under the License.
             <widgets>
                 <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
                     <decorator-section name="search-results">
-                        <include-form name="ListLookupContactList" location="component://party/widget/partymgr/PartyContactListForms.xml"/>
+                        <include-grid name="ListLookupContactList" location="component://party/widget/partymgr/PartyContactListForms.xml"/>
                     </decorator-section>
                 </decorator-screen>
             </widgets>