You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2017/11/05 09:05:54 UTC

svn commit: r1814342 - in /ofbiz/ofbiz-plugins/trunk/example/widget/example: FormWidgetExampleForms.xml FormWidgetExampleScreens.xml

Author: jleroux
Date: Sun Nov  5 09:05:53 2017
New Revision: 1814342

URL: http://svn.apache.org/viewvc?rev=1814342&view=rev
Log:
Improved: Replace Inline Javascript with External Javascript 
(OFBIZ-9465)

The OFBIZ-9465_example.patch was partially committed at r1804027.

Thanks: Aditya 

Modified:
    ofbiz/ofbiz-plugins/trunk/example/widget/example/FormWidgetExampleForms.xml
    ofbiz/ofbiz-plugins/trunk/example/widget/example/FormWidgetExampleScreens.xml

Modified: ofbiz/ofbiz-plugins/trunk/example/widget/example/FormWidgetExampleForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/example/widget/example/FormWidgetExampleForms.xml?rev=1814342&r1=1814341&r2=1814342&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/example/widget/example/FormWidgetExampleForms.xml (original)
+++ ofbiz/ofbiz-plugins/trunk/example/widget/example/FormWidgetExampleForms.xml Sun Nov  5 09:05:53 2017
@@ -411,6 +411,6 @@ under the License.
     </form>
 
     <form name="MaskFieldExampleForm" type="single">
-        <field name="maskField" className="test" title="${uiLabelMap.ExampleField}"><text mask='a*-999-a999'/></field>
+        <field name="maskField" title="${uiLabelMap.ExampleField}"><text mask='a*-999-a999'/></field>
     </form>
 </forms>

Modified: ofbiz/ofbiz-plugins/trunk/example/widget/example/FormWidgetExampleScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/example/widget/example/FormWidgetExampleScreens.xml?rev=1814342&r1=1814341&r2=1814342&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/example/widget/example/FormWidgetExampleScreens.xml (original)
+++ ofbiz/ofbiz-plugins/trunk/example/widget/example/FormWidgetExampleScreens.xml Sun Nov  5 09:05:53 2017
@@ -131,6 +131,13 @@ under the License.
                                     </container>
                                     <include-form name="FOPFontsExampleForm" location="component://example/widget/example/FormWidgetExampleForms.xml"/>
                                 </container>
+                                <container style="screenlet-body">
+                                    <container style="button-bar"><label style="h2">${uiLabelMap.ExampleMaskField}</label></container>
+                                    <container style="screenlet-body">
+                                        <label>${uiLabelMap.ExampleMaskFieldDescription}</label>
+                                    </container>
+                                    <include-form name="MaskFieldExampleForm" location="component://example/widget/example/FormWidgetExampleForms.xml"/>
+                                </container>
                             </widgets>
                             <fail-widgets>
                                 <label style="h3">${uiLabelMap.ExampleViewPermissionError}</label>