Applied fix from trunk for revision: 1851316

===

Improved: Replace Inline js with External js in renderDateFindField macro
(OFBIZ-9850)
Added an example in FormWidgetExamples for the field.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/branches/release18.12@1851318 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Aditya Sharma
2019-01-15 04:59:33 +00:00
parent 7ffe31bed9
commit c62accc95c
2 changed files with 30 additions and 0 deletions
+9
View File
@@ -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>
@@ -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="">