[ https://issues.apache.org/struts/browse/WW-2001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Holmes updated WW-2001: ----------------------------- Description: dojo.require("dojo.widget.DatePicker") will request '/struts/dojosrc/widget/DatePicker.js' so I changed '/struts/dojo' to '/struts/dojo/' in template/simple/head.ftl and it works fine. I suggest add this to source repository also. was: dojo.require("dojo.widget.DatePicker") will request '/struts/dojosrc/widget/DatePicker.js' so I changed '/struts/dojo' to '/struts/dojo/' in template/simple/head.ftl,It works fine.I suggest add this to source repository also. Summary: datetimepicker tag doesn't work because dojo baseRelativePath is not properly defined in head.ftl template (was: tag datetimepicker doesn't work) > datetimepicker tag doesn't work because dojo baseRelativePath is not properly > defined in head.ftl template > ---------------------------------------------------------------------------------------------------------- > > Key: WW-2001 > URL: https://issues.apache.org/struts/browse/WW-2001 > Project: Struts 2 > Issue Type: Bug > Components: Views > Affects Versions: 2.0.8 > Reporter: zhouyanming > Assignee: James Holmes > Fix For: Future > > > dojo.require("dojo.widget.DatePicker") will request > '/struts/dojosrc/widget/DatePicker.js' > so I changed '/struts/dojo' to '/struts/dojo/' in template/simple/head.ftl > and it works fine. I suggest add this to source repository also. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.