Author: jleroux
Date: Wed Mar 31 15:12:42 2010
New Revision: 929582
URL:
http://svn.apache.org/viewvc?rev=929582&view=revLog:
A patch from Atul Vani "typo mistakes in tempExprMacros.ftl"
https://issues.apache.org/jira/browse/OFBIZ-3629 - OFBIZ-3629
Fix 2 C/P in tempExprMacros.ftl. Like in HourOfDayRange's dropdown field the selected value is set to 31 which it can't hold so it is restored to 0 when the page renders
path to regenerate affected page "webtools>Configuration>Temporal Expression>Create"
Modified:
ofbiz/trunk/framework/webtools/webapp/webtools/tempexpr/tempExprMacros.ftl
Modified: ofbiz/trunk/framework/webtools/webapp/webtools/tempexpr/tempExprMacros.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/tempexpr/tempExprMacros.ftl?rev=929582&r1=929581&r2=929582&view=diff==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/tempexpr/tempExprMacros.ftl (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/tempexpr/tempExprMacros.ftl Wed Mar 31 15:12:42 2010
@@ -78,7 +78,7 @@ your template file:
</tr>
</#macro>
-<#macro HourOfDayRange fromHour=1 toHour=31>
+<#macro HourOfDayRange fromHour=1 toHour=23>
<tr>
<td class="label">${uiLabelMap.CommonFrom}</td>
<td><@HourOfDayField fieldName="integer1" fieldValue=fromHour/></td>
@@ -129,7 +129,7 @@ your template file:
</tr>
</#macro>
-<#macro MinuteRange fromMinute=1 toMinute=31>
+<#macro MinuteRange fromMinute=1 toMinute=59>
<tr>
<td class="label">${uiLabelMap.CommonFrom}</td>
<td><@MinuteField fieldName="integer1" fieldValue=fromMinute/></td>