Adding a new feature for date-time fields: step, which will format the minutes drop-down with or a 1, 5, 10, 15 or 30 step-size

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070570 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erwan de Ferrieres
2011-02-14 16:57:31 +00:00
parent 530e8847da
commit 80d2dc710d
8 changed files with 71 additions and 6 deletions
@@ -116,6 +116,14 @@ under the License.
tooltip="${uiLabelMap.ExampleDateField8Tooltip}">
<display description="${groovy:org.ofbiz.base.util.UtilDateTime.toDateString(exampleDateField, &quot;MMMM,dd,yyyy&quot;);}"/>
</field>
<!-- ***************** -->
<!-- *** field12 *** -->
<!-- ***************** -->
<field name="field12"
title="${uiLabelMap.ExampleDateField12Title}"
tooltip="${uiLabelMap.ExampleDateField12Tooltip}">
<date-time input-method="time-dropdown" clock="24" default-value="${exampleDateField}" step="5"/>
</field>
</form>
<form name="DropDownFieldsExampleForm" type="single" title="">