svn commit: r1761105 - in /ofbiz/trunk/specialpurpose/assetmaint/widget: ProductScreens.xml forms/LookupForms.xml forms/ProductForms.xml

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

svn commit: r1761105 - in /ofbiz/trunk/specialpurpose/assetmaint/widget: ProductScreens.xml forms/LookupForms.xml forms/ProductForms.xml

mbrohl
Author: mbrohl
Date: Fri Sep 16 22:19:54 2016
New Revision: 1761105

URL: http://svn.apache.org/viewvc?rev=1761105&view=rev
Log:
Improved: Assetmaint: Consistent form name.
(OFBIZ-8101)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

Modified:
    ofbiz/trunk/specialpurpose/assetmaint/widget/ProductScreens.xml
    ofbiz/trunk/specialpurpose/assetmaint/widget/forms/LookupForms.xml
    ofbiz/trunk/specialpurpose/assetmaint/widget/forms/ProductForms.xml

Modified: ofbiz/trunk/specialpurpose/assetmaint/widget/ProductScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/ProductScreens.xml?rev=1761105&r1=1761104&r2=1761105&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/widget/ProductScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/assetmaint/widget/ProductScreens.xml Fri Sep 16 22:19:54 2016
@@ -36,10 +36,10 @@
             <widgets>
                 <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
                     <decorator-section name="search-options">
-                        <include-form name="lookupProduct" location="component://assetmaint/widget/forms/ProductForms.xml"/>
+                        <include-form name="LookupProduct" location="component://assetmaint/widget/forms/ProductForms.xml"/>
                     </decorator-section>
                     <decorator-section name="search-results">
-                        <include-form name="listLookupProduct" location="component://assetmaint/widget/forms/ProductForms.xml"/>
+                        <include-form name="ListLookupProduct" location="component://assetmaint/widget/forms/ProductForms.xml"/>
                     </decorator-section>
                 </decorator-screen>
             </widgets>

Modified: ofbiz/trunk/specialpurpose/assetmaint/widget/forms/LookupForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/forms/LookupForms.xml?rev=1761105&r1=1761104&r2=1761105&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/widget/forms/LookupForms.xml (original)
+++ ofbiz/trunk/specialpurpose/assetmaint/widget/forms/LookupForms.xml Fri Sep 16 22:19:54 2016
@@ -21,7 +21,7 @@
 <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">
     <!-- Person Lookup forms -->
-    <form name="lookupPerson" target="LookupPerson" title="" type="single"
+    <form name="LookupPerson" target="LookupPerson" title="" type="single"
         header-row-style="header-row" default-table-style="basic-table">
         <!--<auto-fields-entity entity-name="Person" default-field-type="find"/>-->
         <field name="partyId" title="${uiLabelMap.PartyPartyId}"><text-find/></field>

Modified: ofbiz/trunk/specialpurpose/assetmaint/widget/forms/ProductForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/forms/ProductForms.xml?rev=1761105&r1=1761104&r2=1761105&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/widget/forms/ProductForms.xml (original)
+++ ofbiz/trunk/specialpurpose/assetmaint/widget/forms/ProductForms.xml Fri Sep 16 22:19:54 2016
@@ -80,7 +80,7 @@
             </hyperlink>
         </field>
     </form>
-    <form name="lookupProduct" target="${submitTarget}" type="single"
+    <form name="LookupProduct" target="${submitTarget}" type="single"
         header-row-style="header-row" default-table-style="basic-table">
         <!-- <auto-fields-entity entity-name="Product" default-field-type="hidden"/> -->
         <field name="productId" title="${uiLabelMap.CommonId}"><text-find ignore-case="true"/></field>
@@ -91,7 +91,7 @@
         <field name="submitButton" title="${uiLabelMap.CommonFind}"><submit button-type="button"/></field>
     </form>
 
-    <form name="listLookupProduct" list-name="listIt" paginate-target="${submitTarget}" title="" type="list"
+    <form name="ListLookupProduct" list-name="listIt" paginate-target="${submitTarget}" title="" type="list"
          odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
         <actions>
             <service service-name="performFind" result-map="result" result-map-list="listIt">