[
https://issues.apache.org/struts/browse/WW-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39923
]
Ivan Rei commented on WW-1684:
------------------------------
There is another issue on this tag. It is not supporting type conversion like
the other tags. For example I did a Calendar type conversion and in a
<@s.datetimepicker> it shows up as a Calendar object, but if I use <@s.label>
or any other tag, I get the formated String. This not only in freemarker but in
jsp's as well.
> DateTimePicker is broken in Freemarker results
> ----------------------------------------------
>
> Key: WW-1684
> URL: https://issues.apache.org/struts/browse/WW-1684
> Project: Struts 2
> Issue Type: Bug
> Components: Views
> Affects Versions: 2.0.3
> Reporter: Stuart Piltch
> Fix For: 2.0.5
>
> Attachments: WW-1684.patch
>
>
> The <@s.datetimepicker> tag results in this error:
> freemarker.core.InvalidReferenceException: on line 22, column 7 in
> WEB-INF/clients/clientList.ftl s.datepicker not found.
> I think the problem is that the /views/freemarker/tags/StrutsModels.java
> class has a method called getDropdownDateTimePicker() instead of the new
> getDateTimePicker() [see WW-1596 for the name change]
> I haven't been able to make the change a do a complete new build to test it,
> but I can confirm that <@s.dropdownDateTimePicker> makes the error go away.
> The resulting html/js still doesn't actually work, though, since it refers to
> dojoType="dropdowndatepicker"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.