svn commit: r1761104 - in /ofbiz/trunk/framework/webtools/widget: ServiceForms.xml ServiceScreens.xml

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

svn commit: r1761104 - in /ofbiz/trunk/framework/webtools/widget: ServiceForms.xml ServiceScreens.xml

mbrohl
Author: mbrohl
Date: Fri Sep 16 22:13:49 2016
New Revision: 1761104

URL: http://svn.apache.org/viewvc?rev=1761104&view=rev
Log:
Improved: Webtools: Consistent form name.
(OFBIZ-8100)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

Modified:
    ofbiz/trunk/framework/webtools/widget/ServiceForms.xml
    ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml

Modified: ofbiz/trunk/framework/webtools/widget/ServiceForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/ServiceForms.xml?rev=1761104&r1=1761103&r2=1761104&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/widget/ServiceForms.xml (original)
+++ ofbiz/trunk/framework/webtools/widget/ServiceForms.xml Fri Sep 16 22:13:49 2016
@@ -21,7 +21,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="scheduleJob" type="single" target="setServiceParameters"
+    <form name="ScheduleJob" type="single" target="setServiceParameters"
         header-row-style="header-row" default-table-style="basic-table">
         <field name="JOB_NAME" title="${uiLabelMap.WebtoolsJob}"><text/></field>
         <field name="SERVICE_NAME" title="${uiLabelMap.WebtoolsService}"><text/></field>
@@ -46,7 +46,7 @@ under the License.
         <field name="submitButton" title="${uiLabelMap.CommonSubmit}"><submit button-type="button"/></field>
     </form>
 
-    <form name="runService" type="single" target="setSyncServiceParameters"
+    <form name="RunService" type="single" target="setSyncServiceParameters"
         header-row-style="header-row" default-table-style="basic-table" focus-field-name="SERVICE_NAME">
         <field name="SERVICE_NAME" title="${uiLabelMap.WebtoolsService}"><text/></field>
         <field name="POOL_NAME" title="${uiLabelMap.WebtoolsPool}"><text/></field>

Modified: ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml?rev=1761104&r1=1761103&r2=1761104&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml (original)
+++ ofbiz/trunk/framework/webtools/widget/ServiceScreens.xml Fri Sep 16 22:13:49 2016
@@ -133,7 +133,7 @@ under the License.
                     <decorator-section name="body">
                         <include-screen name="JobManagerLockEnable"/>
                         <screenlet title="${uiLabelMap.WebtoolsStep1ServiceAndRecurrenceInfo}">
-                            <include-form name="scheduleJob" location="component://webtools/widget/ServiceForms.xml"/>
+                            <include-form name="ScheduleJob" location="component://webtools/widget/ServiceForms.xml"/>
                         </screenlet>
                     </decorator-section>
                 </decorator-screen>
@@ -152,7 +152,7 @@ under the License.
                 <decorator-screen name="CommonServiceDecorator" location="${parameters.mainDecoratorLocation}">
                     <decorator-section name="body">
                         <screenlet>
-                            <include-form name="runService" location="component://webtools/widget/ServiceForms.xml"/>
+                            <include-form name="RunService" location="component://webtools/widget/ServiceForms.xml"/>
                         </screenlet>
                     </decorator-section>
                 </decorator-screen>