This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git
The following commit(s) were added to refs/heads/trunk by this push:
new 4de5d7bf7 Fixed: dateType parameter not existing in
"renderDateTimeField" Macro (OFBIZ-13039)
4de5d7bf7 is described below
commit 4de5d7bf7e3f077cc81bd1d62bb1848c83c9392b
Author: Jacques Le Roux <[email protected]>
AuthorDate: Thu Apr 18 16:33:57 2024 +0200
Fixed: dateType parameter not existing in "renderDateTimeField" Macro
(OFBIZ-13039)
Removes dateType parameter from "renderDateTimeField" Macro in
ProductDetail.ftl
EditShoppingList.ftl
EditTaskAndAssoc.ftl
ListSurveys.ftl
---
ecommerce/template/catalog/ProductDetail.ftl | 4 ++--
ecommerce/template/shoppinglist/EditShoppingList.ftl | 4 ++--
projectmgr/template/project/EditTaskAndAssoc.ftl | 16 ++++++++--------
projectmgr/template/survey/ListSurveys.ftl | 2 +-
4 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/ecommerce/template/catalog/ProductDetail.ftl
b/ecommerce/template/catalog/ProductDetail.ftl
index 188d03074..713a0fd85 100644
--- a/ecommerce/template/catalog/ProductDetail.ftl
+++ b/ecommerce/template/catalog/ProductDetail.ftl
@@ -251,7 +251,7 @@ ${virtualVariantJavaScript!}
block2.style.display = "none";
}
</#if>
-
+
$(function(){
$('a[id^=productTag_]').click(function(){
var id = $(this).attr('id');
@@ -725,7 +725,7 @@ ${variantInfoJavaScript!}
</label>
<@htmlTemplate.renderDateTimeField event="" action=""
name="reservStart" className="" alert=""
title="Format: yyyy-MM-dd HH:mm:ss.SSS"
value="${startDate}" size="25" maxlength="30"
- id="reservStart1" dateType="date" shortDateInput=true
timeDropdownParamName=""
+ id="reservStart1" shortDateInput=true
timeDropdownParamName=""
defaultDateTimeString="" localizedIconTitle=""
timeDropdown="" timeHourName="" classString=""
hour1="" hour2="" timeMinutesName="" minutes=""
isTwelveHour="" ampmName="" amSelected=""
pmSelected="" compositeType="" formName=""/>
diff --git a/ecommerce/template/shoppinglist/EditShoppingList.ftl
b/ecommerce/template/shoppinglist/EditShoppingList.ftl
index 37e981d07..e8cb7b1e4 100644
--- a/ecommerce/template/shoppinglist/EditShoppingList.ftl
+++ b/ecommerce/template/shoppinglist/EditShoppingList.ftl
@@ -251,13 +251,13 @@ under the License.
<div class="row">
<div class="col-sm-6">
<label>${uiLabelMap.CommonStartDate}</label>
- <@htmlTemplate.renderDateTimeField name="startDateTime"
className="form-control" event="" action="" alert="" title="Format: yyyy-MM-dd
HH:mm:ss.SSS" value="${(recurrenceInfo.startDateTime)!}" size="25"
maxlength="30" id="startDateTime1" dateType="date" shortDateInput=false
timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle=""
timeDropdown="" timeHourName="" classString="" hour1="" hour2=""
timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSel [...]
+ <@htmlTemplate.renderDateTimeField name="startDateTime"
className="form-control" event="" action="" alert="" title="Format: yyyy-MM-dd
HH:mm:ss.SSS" value="${(recurrenceInfo.startDateTime)!}" size="25"
maxlength="30" id="startDateTime1" shortDateInput=false
timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle=""
timeDropdown="" timeHourName="" classString="" hour1="" hour2=""
timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelec
[...]
</div>
</div>
<div class="row">
<div class="col-sm-6">
<label>${uiLabelMap.CommonEndDate}</label>
- <@htmlTemplate.renderDateTimeField name="endDateTime"
className="textBox form-control" event="" action="" alert="" title="Format:
yyyy-MM-dd HH:mm:ss.SSS" value="${(recurrenceRule.untilDateTime)!}" size="25"
maxlength="30" id="endDateTime1" dateType="date" shortDateInput=false
timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle=""
timeDropdown="" timeHourName="" classString="" hour1="" hour2=""
timeMinutesName="" minutes="" isTwelveHour="" ampmName="" a [...]
+ <@htmlTemplate.renderDateTimeField name="endDateTime"
className="textBox form-control" event="" action="" alert="" title="Format:
yyyy-MM-dd HH:mm:ss.SSS" value="${(recurrenceRule.untilDateTime)!}" size="25"
maxlength="30" id="endDateTime1" shortDateInput=false timeDropdownParamName=""
defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName=""
classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour=""
ampmName="" amSelected="" pmS [...]
</div>
</div>
<div class="row">
diff --git a/projectmgr/template/project/EditTaskAndAssoc.ftl
b/projectmgr/template/project/EditTaskAndAssoc.ftl
index 127ba0e7f..ea5dd9b7c 100644
--- a/projectmgr/template/project/EditTaskAndAssoc.ftl
+++ b/projectmgr/template/project/EditTaskAndAssoc.ftl
@@ -168,9 +168,9 @@ under the License.
<td class="label">${uiLabelMap.WorkEffortEstimatedStartDate}</td>
<td>
<#if task??>
- <@htmlTemplate.renderDateTimeField name="estimatedStartDate"
className="" event="" action="" alert="" title="Format: yyyy-MM-dd
HH:mm:ss.SSS" value="${task.estimatedStartDate!}" size="25" maxlength="30"
id="estimatedStartDate1" dateType="date" shortDateInput=false
timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle=""
timeDropdown="" timeHourName="" classString="" hour1="" hour2=""
timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSe
[...]
+ <@htmlTemplate.renderDateTimeField name="estimatedStartDate"
className="" event="" action="" alert="" title="Format: yyyy-MM-dd
HH:mm:ss.SSS" value="${task.estimatedStartDate!}" size="25" maxlength="30"
id="estimatedStartDate1" shortDateInput=false timeDropdownParamName=""
defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName=""
classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour=""
ampmName="" amSelected="" pmSelected="" compos [...]
<#else>
- <@htmlTemplate.renderDateTimeField name="estimatedStartDate"
className="" event="" action="" alert="" title="Format: yyyy-MM-dd
HH:mm:ss.SSS" value="" size="25" maxlength="30" id="estimatedStartDate1"
dateType="date" shortDateInput=false timeDropdownParamName=""
defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName=""
classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour=""
ampmName="" amSelected="" pmSelected="" compositeType="" [...]
+ <@htmlTemplate.renderDateTimeField name="estimatedStartDate"
className="" event="" action="" alert="" title="Format: yyyy-MM-dd
HH:mm:ss.SSS" value="" size="25" maxlength="30" id="estimatedStartDate1"
shortDateInput=false timeDropdownParamName="" defaultDateTimeString=""
localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1=""
hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName=""
amSelected="" pmSelected="" compositeType="" formName=""/>
</#if>
</td>
</tr>
@@ -178,9 +178,9 @@ under the License.
<td
class="label">${uiLabelMap.WorkEffortEstimatedCompletionDate}</td>
<td>
<#if task??>
- <@htmlTemplate.renderDateTimeField
name="estimatedCompletionDate" className="" event="" action="" alert=""
title="Format: yyyy-MM-dd HH:mm:ss.SSS"
value="${task.estimatedCompletionDate!}" size="25" maxlength="30"
id="estimatedCompletionDate1" dateType="date" shortDateInput=false
timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle=""
timeDropdown="" timeHourName="" classString="" hour1="" hour2=""
timeMinutesName="" minutes="" isTwelveHour="" ampmName="" am [...]
+ <@htmlTemplate.renderDateTimeField
name="estimatedCompletionDate" className="" event="" action="" alert=""
title="Format: yyyy-MM-dd HH:mm:ss.SSS"
value="${task.estimatedCompletionDate!}" size="25" maxlength="30"
id="estimatedCompletionDate1" shortDateInput=false timeDropdownParamName=""
defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName=""
classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour=""
ampmName="" amSelected="" pmSe [...]
<#else>
- <@htmlTemplate.renderDateTimeField
name="estimatedCompletionDate" className="" event="" action="" alert=""
title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="" size="25" maxlength="30"
id="estimatedCompletionDate1" dateType="date" shortDateInput=false
timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle=""
timeDropdown="" timeHourName="" classString="" hour1="" hour2=""
timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected=""
pmSelected="" compos [...]
+ <@htmlTemplate.renderDateTimeField
name="estimatedCompletionDate" className="" event="" action="" alert=""
title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="" size="25" maxlength="30"
id="estimatedCompletionDate1" shortDateInput=false timeDropdownParamName=""
defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName=""
classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour=""
ampmName="" amSelected="" pmSelected="" compositeType="" formN [...]
</#if>
</td>
</tr>
@@ -190,9 +190,9 @@ under the License.
<#if task??>
- <@htmlTemplate.renderDateTimeField name="actualStartDate"
event="" action="" className="" alert="" title="Format: yyyy-MM-dd
HH:mm:ss.SSS" value="${task.actualStartDate!}" size="25" maxlength="30"
id="actualStartDate1" dateType="date" shortDateInput=false
timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle=""
timeDropdown="" timeHourName="" classString="" hour1="" hour2=""
timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected=""
pmSelected=" [...]
+ <@htmlTemplate.renderDateTimeField name="actualStartDate"
event="" action="" className="" alert="" title="Format: yyyy-MM-dd
HH:mm:ss.SSS" value="${task.actualStartDate!}" size="25" maxlength="30"
id="actualStartDate1" shortDateInput=false timeDropdownParamName=""
defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName=""
classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour=""
ampmName="" amSelected="" pmSelected="" compositeType= [...]
<#else>
- <@htmlTemplate.renderDateTimeField name="actualStartDate"
event="" action="" className="" alert="" title="Format: yyyy-MM-dd
HH:mm:ss.SSS" value="" size="25" maxlength="30" id="actualStartDate1"
dateType="date" shortDateInput=false timeDropdownParamName=""
defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName=""
classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour=""
ampmName="" amSelected="" pmSelected="" compositeType="" formN [...]
+ <@htmlTemplate.renderDateTimeField name="actualStartDate"
event="" action="" className="" alert="" title="Format: yyyy-MM-dd
HH:mm:ss.SSS" value="" size="25" maxlength="30" id="actualStartDate1"
shortDateInput=false timeDropdownParamName="" defaultDateTimeString=""
localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1=""
hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName=""
amSelected="" pmSelected="" compositeType="" formName=""/>
</#if>
</td>
</tr>
@@ -201,9 +201,9 @@ under the License.
<td>
<#if task??>
- <@htmlTemplate.renderDateTimeField name="actualCompletionDate"
event="" action="" className="" alert="" title="Format: yyyy-MM-dd
HH:mm:ss.SSS" value="${task.actualCompletionDate!}" size="25" maxlength="30"
id="actualCompletionDate2" dateType="date" shortDateInput=false
timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle=""
timeDropdown="" timeHourName="" classString="" hour1="" hour2=""
timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected= [...]
+ <@htmlTemplate.renderDateTimeField name="actualCompletionDate"
event="" action="" className="" alert="" title="Format: yyyy-MM-dd
HH:mm:ss.SSS" value="${task.actualCompletionDate!}" size="25" maxlength="30"
id="actualCompletionDate2" shortDateInput=false timeDropdownParamName=""
defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName=""
classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour=""
ampmName="" amSelected="" pmSelected="" [...]
<#else>
- <@htmlTemplate.renderDateTimeField name="actualCompletionDate"
event="" action="" className="" alert="" title="Format: yyyy-MM-dd
HH:mm:ss.SSS" value="" size="25" maxlength="30" id="actualCompletionDate2"
dateType="date" shortDateInput=false timeDropdownParamName=""
defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName=""
classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour=""
ampmName="" amSelected="" pmSelected="" compositeTyp [...]
+ <@htmlTemplate.renderDateTimeField name="actualCompletionDate"
event="" action="" className="" alert="" title="Format: yyyy-MM-dd
HH:mm:ss.SSS" value="" size="25" maxlength="30" id="actualCompletionDate2"
shortDateInput=false timeDropdownParamName="" defaultDateTimeString=""
localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1=""
hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName=""
amSelected="" pmSelected="" compositeType="" formName=""/>
</#if>
</td>
</tr>
diff --git a/projectmgr/template/survey/ListSurveys.ftl
b/projectmgr/template/survey/ListSurveys.ftl
index ee027fce8..c6bb559b8 100644
--- a/projectmgr/template/survey/ListSurveys.ftl
+++ b/projectmgr/template/survey/ListSurveys.ftl
@@ -44,7 +44,7 @@ under the License.
<td><a href="<@ofbizUrl
controlPath="/content/control">EditSurvey?surveyId=${workEffortSurveyAppl.surveyId!}</@ofbizUrl>"
class="buttontext">${workEffortSurveyAppl.surveyId!} -
${survey.surveyName!}</a></td>
<td>${workEffortSurveyAppl.fromDate!}</td>
<td>
- <@htmlTemplate.renderDateTimeField name="thruDate"
event="" action="" className="" alert="" title="Format: yyyy-MM-dd
HH:mm:ss.SSS" value="${(workEffortSurveyAppl.thruDate)!}" size="25"
maxlength="30" id="thruDate_${workEffortSurveyAppl_index}" dateType="date"
shortDateInput=false timeDropdownParamName="" defaultDateTimeString=""
localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1=""
hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmNam [...]
+ <@htmlTemplate.renderDateTimeField name="thruDate"
event="" action="" className="" alert="" title="Format: yyyy-MM-dd
HH:mm:ss.SSS" value="${(workEffortSurveyAppl.thruDate)!}" size="25"
maxlength="30" id="thruDate_${workEffortSurveyAppl_index}" shortDateInput=false
timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle=""
timeDropdown="" timeHourName="" classString="" hour1="" hour2=""
timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected= [...]
</td>
<td><a
href="<@ofbizUrl>testWorkEffortSurvey?productStoreSurveyId=${productStoreSurveyAppl.productStoreSurveyId!}&workEffortId=${workEffortSurveyAppl.workEffortId!}</@ofbizUrl>"
class="buttontext">${uiLabelMap.EcommerceTakeSurvey}</a></td>
<#if !isReadable??>