Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1684

DateTimePicker is broken in Freemarker results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.3
    • 2.0.5
    • Plugin - Tags
    • None

    Description

      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"

      Attachments

        1. WW-1684.patch
          0.6 kB
          Stuart Piltch

        Issue Links

          Activity

            People

              mrdon Donald J. Brown
              piltch Stuart Piltch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: