You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by pr...@apache.org on 2017/07/20 11:48:43 UTC

svn commit: r1802474 - /ofbiz/branches/release16.11/specialpurpose/example/widget/example/FormWidgetExampleScreens.xml

Author: pranayp
Date: Thu Jul 20 11:48:43 2017
New Revision: 1802474

URL: http://svn.apache.org/viewvc?rev=1802474&view=rev
Log:
Manually applied slightly updated fix for 16.11 from trunk for revision: 1802464.

===========================================
Fixed: Wrong repository links on FormWidgetExamples page.
(OFBIZ-9494)

Updated the URL path and instead of changing it at all the places introduced a variable.  So in future same variable value can be changed instead of changing its redundant occurrences.

Thanks Aditya Sharma for reporting and providing the patch.

===========================================

Modified:
    ofbiz/branches/release16.11/specialpurpose/example/widget/example/FormWidgetExampleScreens.xml

Modified: ofbiz/branches/release16.11/specialpurpose/example/widget/example/FormWidgetExampleScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/specialpurpose/example/widget/example/FormWidgetExampleScreens.xml?rev=1802474&r1=1802473&r2=1802474&view=diff
==============================================================================
--- ofbiz/branches/release16.11/specialpurpose/example/widget/example/FormWidgetExampleScreens.xml (original)
+++ ofbiz/branches/release16.11/specialpurpose/example/widget/example/FormWidgetExampleScreens.xml Thu Jul 20 11:48:43 2017
@@ -26,6 +26,7 @@ under the License.
             <actions>
                 <set field="headerItem" value="FormWidgetExamples"/>
                 <set field="layoutSettings.javaScripts[]" value="/images/combobox.js" global="true" />
+                <set field="formWidgetExampleFormsUrl" value="http://svn.apache.org/repos/asf/ofbiz/branches/release16.11/specialpurpose/example/widget/example/FormWidgetExampleForms.xml"/>
             </actions>
             <widgets>
                 <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
@@ -41,7 +42,7 @@ under the License.
                                     <container style="screenlet-body">
                                         <label style="h3">${uiLabelMap.ExampleSourceCode}</label>
                                         <label>${uiLabelMap.ExampleDefinitionName} &quot;DateTimeFieldsExampleForm&quot; ${uiLabelMap.ExampleDefinitionFile}</label>
-                                        <link target="http://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose/example/widget/example/FormWidgetExampleForms.xml" url-mode="plain" target-window="svnPage" text="${uiLabelMap.ExampleDefinitionFileTooltip}" style="buttontext"/>
+                                        <link target="${formWidgetExampleFormsUrl}" url-mode="plain" target-window="svnPage" text="${uiLabelMap.ExampleDefinitionFileTooltip}" style="buttontext"/>
                                         <include-form name="DateTimeFieldsExampleForm" location="component://example/widget/example/FormWidgetExampleForms.xml"/>
                                     </container>
                                 </container>
@@ -50,7 +51,7 @@ under the License.
                                     <container style="screenlet-body">
                                         <label style="h3">${uiLabelMap.ExampleSourceCode}</label>
                                         <label>${uiLabelMap.ExampleDefinitionName} &quot;DropDownFieldsExampleForm&quot; ${uiLabelMap.ExampleDefinitionFile}</label>
-                                        <link target="http://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose/example/widget/example/FormWidgetExampleForms.xml" url-mode="plain" target-window="svnPage" text="${uiLabelMap.ExampleDefinitionFileTooltip}" style="buttontext"/>
+                                        <link target="${formWidgetExampleFormsUrl}" url-mode="plain" target-window="svnPage" text="${uiLabelMap.ExampleDefinitionFileTooltip}" style="buttontext"/>
                                     </container>
                                     <section>
                                         <actions>
@@ -88,7 +89,7 @@ under the License.
                                         <container style="screenlet-body">
                                             <label style="h3">${uiLabelMap.ExampleSourceCode}</label>
                                             <label>${uiLabelMap.ExampleDefinitionName} &quot;ExampleLookupFields&quot; ${uiLabelMap.ExampleDefinitionFile}</label>
-                                            <link target="http://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose/example/widget/example/FormWidgetExampleForms.xml" url-mode="plain" target-window="svnPage" text="${uiLabelMap.ExampleDefinitionFileTooltip}" style="buttontext"/>
+                                            <link target="${formWidgetExampleFormsUrl}" url-mode="plain" target-window="svnPage" text="${uiLabelMap.ExampleDefinitionFileTooltip}" style="buttontext"/>
                                             <include-form name="ExampleLookupFields" location="component://example/widget/example/FormWidgetExampleForms.xml"/>
                                         </container>
                                 </container>
@@ -97,7 +98,7 @@ under the License.
                                     <container style="screenlet-body">
                                         <label style="h3">${uiLabelMap.ExampleSourceCode}</label>
                                         <label>${uiLabelMap.ExampleDefinitionName} &quot;FieldGroupExampleForm&quot; ${uiLabelMap.ExampleDefinitionFile}</label>
-                                        <link target="http://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose/example/widget/example/FormWidgetExampleForms.xml" url-mode="plain" target-window="svnPage" text="${uiLabelMap.ExampleDefinitionFileTooltip}" style="buttontext"/>
+                                        <link target="${formWidgetExampleFormsUrl}" url-mode="plain" target-window="svnPage" text="${uiLabelMap.ExampleDefinitionFileTooltip}" style="buttontext"/>
                                         <container style="button-bar">
                                             <link target="javascript:expandAll(true);"  text="${uiLabelMap.CommonExpandAll}" style="buttontext expand-all" url-mode="plain"/>
                                             <link target="javascript:expandAll(false);" text="${uiLabelMap.CommonCollapseAll}" style="buttontext collapse-all" url-mode="plain"/>
@@ -110,7 +111,7 @@ under the License.
                                     <container style="screenlet-body">
                                         <label style="h3">${uiLabelMap.ExampleSourceCode}</label>
                                         <label>${uiLabelMap.ExampleDefinitionName} &quot;SelectionBoxesExampleForm&quot; ${uiLabelMap.ExampleDefinitionFile}</label>
-                                        <link target="http://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose/example/widget/example/FormWidgetExampleForms.xml" url-mode="plain" target-window="svnPage" text="${uiLabelMap.ExampleDefinitionFileTooltip}" style="buttontext"/>
+                                        <link target="${formWidgetExampleFormsUrl}" url-mode="plain" target-window="svnPage" text="${uiLabelMap.ExampleDefinitionFileTooltip}" style="buttontext"/>
                                         <include-form name="SelectionBoxesExampleForm" location="component://example/widget/example/FormWidgetExampleForms.xml"/>
                                     </container>
                                 </container>
@@ -119,7 +120,7 @@ under the License.
                                     <container style="screenlet-body">
                                         <label style="h3">${uiLabelMap.ExampleSourceCode}</label>
                                         <label>${uiLabelMap.ExampleDefinitionName} &quot;LinksExampleForm&quot; ${uiLabelMap.ExampleDefinitionFile}</label>
-                                        <link target="http://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose/example/widget/example/FormWidgetExampleForms.xml" url-mode="plain" target-window="svnPage" text="${uiLabelMap.ExampleDefinitionFileTooltip}" style="buttontext"/>
+                                        <link target="${formWidgetExampleFormsUrl}" url-mode="plain" target-window="svnPage" text="${uiLabelMap.ExampleDefinitionFileTooltip}" style="buttontext"/>
                                         <include-form name="LinksExampleForm" location="component://example/widget/example/FormWidgetExampleForms.xml"/>
                                     </container>
                                 </container>