[
https://issues.apache.org/struts/browse/WW-1757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40370
]
Keith Weinberg commented on WW-1757:
------------------------------------
The fix is as follows:
In struts2-core-2.0.6:
org.apache.struts2.views.freemarker.tags.StrutsModels
has a method
getDateTimePicker()
Which should be re-named:
getDatetimepicker()
to match with the naming convention.
> freemarker.core.InvalidReferenceException: s.datetimepicker not found.
> ----------------------------------------------------------------------
>
> Key: WW-1757
> URL: https://issues.apache.org/struts/browse/WW-1757
> Project: Struts 2
> Issue Type: Bug
> Components: Views
> Affects Versions: 2.0.6
> Environment: Freemarker 2.3.8
> Reporter: Erik Berg
> Priority: Minor
>
> Using <@s.datetimepicker /> in a Freemarker template returns:
> freemarker.core.InvalidReferenceException: on line 148, column 9 in
> ftl/index.ftl s.datetimepicker not found.
> Change to <@s.dateTimePicker /> renders a slick looking calendar.
> Documentation and examples for this tag refer to datetimepicker only,
> however. Freemarker tag name should be consistent with JSP/Velocity tag name
> and vice versa.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.