svn commit: r1851316 - in /ofbiz/ofbiz-plugins/trunk/example: config/ExampleUiLabels.xml widget/example/FormWidgetExampleForms.xml

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

svn commit: r1851316 - in /ofbiz/ofbiz-plugins/trunk/example: config/ExampleUiLabels.xml widget/example/FormWidgetExampleForms.xml

adityasharma
Author: adityasharma
Date: Tue Jan 15 04:57:08 2019
New Revision: 1851316

URL: http://svn.apache.org/viewvc?rev=1851316&view=rev
Log:
Improved: Replace Inline js with External js in renderDateFindField macro
(OFBIZ-9850)
Added an example in FormWidgetExamples for the field.

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

Modified: ofbiz/ofbiz-plugins/trunk/example/config/ExampleUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/example/config/ExampleUiLabels.xml?rev=1851316&r1=1851315&r2=1851316&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/example/config/ExampleUiLabels.xml (original)
+++ ofbiz/ofbiz-plugins/trunk/example/config/ExampleUiLabels.xml Tue Jan 15 04:57:08 2019
@@ -175,6 +175,15 @@
         <value xml:lang="zh">使用步长=1 (缺省), 5, 10, 15, 30</value>
         <value xml:lang="zh-TW">使用步長=1 (預設), 5, 10, 15, 30</value>
     </property>
+    <property key="ExampleDateField13Title">
+        <value xml:lang="en">Field13: Date Find Field (Default type: timestamp)</value>
+    </property>
+    <property key="ExampleDateField14Title">
+        <value xml:lang="en">Field14: Date Find Field of type date</value>
+    </property>
+    <property key="ExampleDateField15Title">
+        <value xml:lang="en">Field14: Date Find Field of type time</value>
+    </property>
     <property key="ExampleDateField1Title">
         <value xml:lang="en">Field1: date and time selection field</value>
         <value xml:lang="fr">Champ 1 : sélection de date et temps</value>

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=1851316&r1=1851315&r2=1851316&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/example/widget/example/FormWidgetExampleForms.xml (original)
+++ ofbiz/ofbiz-plugins/trunk/example/widget/example/FormWidgetExampleForms.xml Tue Jan 15 04:57:08 2019
@@ -113,6 +113,27 @@ under the License.
                tooltip="${uiLabelMap.ExampleDateField12Tooltip}" tooltip-style="button-text">
             <date-time input-method="time-dropdown" clock="24" default-value="${exampleDateField}" step="5"/>
         </field>
+        <!-- ***************** -->
+        <!-- ***   field13  *** -->
+        <!-- ***************** -->
+        <field name="field13"
+               title="${uiLabelMap.ExampleDateField13Title}">
+            <date-find/>
+        </field>
+        <!-- ***************** -->
+        <!-- ***   field14  *** -->
+        <!-- ***************** -->
+        <field name="field14"
+               title="${uiLabelMap.ExampleDateField14Title}">
+            <date-find type="date"/>
+        </field>
+        <!-- ***************** -->
+        <!-- ***   field15  *** -->
+        <!-- ***************** -->
+        <field name="field15"
+               title="${uiLabelMap.ExampleDateField15Title}">
+            <date-find type="time"/>
+        </field>
     </form>
 
     <form name="DropDownFieldsExampleForm" type="single" title="">