You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mb...@apache.org on 2016/09/16 22:29:27 UTC

svn commit: r1761108 - in /ofbiz/trunk/specialpurpose/ecommerce/widget: ContentForms.xml ContentScreens.xml ForumForms.xml blog/BlogForms.xml blog/BlogScreens.xml

Author: mbrohl
Date: Fri Sep 16 22:29:26 2016
New Revision: 1761108

URL: http://svn.apache.org/viewvc?rev=1761108&view=rev
Log:
Improved: Ecommerce: Consistent form name.
(OFBIZ-8105)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

Modified:
    ofbiz/trunk/specialpurpose/ecommerce/widget/ContentForms.xml
    ofbiz/trunk/specialpurpose/ecommerce/widget/ContentScreens.xml
    ofbiz/trunk/specialpurpose/ecommerce/widget/ForumForms.xml
    ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogForms.xml
    ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogScreens.xml

Modified: ofbiz/trunk/specialpurpose/ecommerce/widget/ContentForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/widget/ContentForms.xml?rev=1761108&r1=1761107&r2=1761108&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/widget/ContentForms.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/widget/ContentForms.xml Fri Sep 16 22:29:26 2016
@@ -20,13 +20,13 @@ 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="searchQuery" target="AdminSearch" title="" type="single"
+    <form name="SearchQuery" target="AdminSearch" title="" type="single"
         default-title-style="tableheadtext" default-widget-style="inputBox">
         <field name="queryLine" title="${uiLabelMap.EcommerceEnterQueryParameters}"><text size="60"/></field>
         <field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit"><submit button-type="button"/></field>
 
     </form>
-    <form name="searchList" type="list" target="" list-name="queryResults"
+    <form name="SearchList" type="list" target="" list-name="queryResults"
         default-title-style="tableheadtext" default-widget-style="inputBox"
         paginate-target="/AdminSearch">
         <field name="editContent" title=" ">

Modified: ofbiz/trunk/specialpurpose/ecommerce/widget/ContentScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/widget/ContentScreens.xml?rev=1761108&r1=1761107&r2=1761108&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/widget/ContentScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/widget/ContentScreens.xml Fri Sep 16 22:29:26 2016
@@ -130,7 +130,7 @@ under the License.
                 <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
                     <decorator-section name="body">
                         <platform-specific><html><html-template location="component://ecommerce/template/content/SearchContent.ftl"/></html></platform-specific>
-                        <include-form name="searchList" location="component://ecommerce/widget/ContentForms.xml"/>
+                        <include-form name="SearchList" location="component://ecommerce/widget/ContentForms.xml"/>
                     </decorator-section>
                 </decorator-screen>
             </widgets>

Modified: ofbiz/trunk/specialpurpose/ecommerce/widget/ForumForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/widget/ForumForms.xml?rev=1761108&r1=1761107&r2=1761108&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/widget/ForumForms.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/widget/ForumForms.xml Fri Sep 16 22:29:26 2016
@@ -172,7 +172,7 @@ under the License.
 
     </form>
 
-    <form name="findContent" default-entity-name="ContentAssocDataResourceViewFrom" target="FindContent" title="" type="single"
+    <form name="FindContent" default-entity-name="ContentAssocDataResourceViewFrom" target="FindContent" title="" type="single"
         default-title-style="tableheadtext" default-widget-style="inputBox">
         <field name="caContentIdTo" title="${uiLabelMap.ContentPublishToContent}"><text-find/></field>
         <field name="caMapKey"><text-find/></field>
@@ -190,7 +190,7 @@ under the License.
 
     </form>
 
-    <form name="listFindContent" type="list" target=""
+    <form name="ListFindContent" type="list" target=""
         default-title-style="tableheadtext" default-widget-style="inputBox"
         paginate-target="/FindContent">
         <field name="editContent" title=" ">

Modified: ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogForms.xml?rev=1761108&r1=1761107&r2=1761108&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogForms.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogForms.xml Fri Sep 16 22:29:26 2016
@@ -19,7 +19,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">
-    <form name="findBlogContent" default-entity-name="ContentAssocDataResourceViewFrom" target="CMSContentFind" title="" type="single"
+    <form name="FindBlogContent" default-entity-name="ContentAssocDataResourceViewFrom" target="CMSContentFind" title="" type="single"
         default-title-style="tableheadtext" default-widget-style="inputBox">
         <field name="caContentIdTo" title="${uiLabelMap.ContentPublishToContent}">
             <drop-down>
@@ -196,14 +196,14 @@
         </sort-order>
     </form>
 
-    <form name="editFormSubmit" target="" title="" type="single" skip-start="true" skip-end="true"
+    <form name="EditFormSubmit" target="" title="" type="single" skip-start="true" skip-end="true"
         default-title-style="treeHeader" default-widget-style="inputBox">
         <field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit">
             <submit button-type="button"/>
         </field>
     </form>
 
-    <form name="editFormEnd" target="" title="" type="single" skip-start="true"
+    <form name="EditFormEnd" target="" title="" type="single" skip-start="true"
         default-title-style="treeHeader" default-widget-style="inputBox">
     </form>
 

Modified: ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogScreens.xml?rev=1761108&r1=1761107&r2=1761108&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/widget/blog/BlogScreens.xml Fri Sep 16 22:29:26 2016
@@ -406,7 +406,7 @@
             <widgets>
                 <decorator-screen name="CommonBlog" location="${parameters.mainDecoratorLocation}">
                     <decorator-section name="body">
-                        <include-form name="findBlogContent" location="component://ecommerce/widget/blog/BlogForms.xml"/>
+                        <include-form name="FindBlogContent" location="component://ecommerce/widget/blog/BlogForms.xml"/>
                         <include-grid name="listFindBlogContent" location="component://ecommerce/widget/blog/BlogForms.xml"/>
                     </decorator-section>
                 </decorator-screen>