You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "James Holmes (JIRA)" <ji...@apache.org> on 2007/08/09 06:03:38 UTC

[jira] Resolved: (WW-2001) datetimepicker tag doesn't work because dojo baseRelativePath is not properly defined in head.ftl template

     [ https://issues.apache.org/struts/browse/WW-2001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes resolved WW-2001.
------------------------------

       Resolution: Not A Problem
    Fix Version/s:     (was: Future)
                   2.0.10

I'm not sure why you needed to change the Dojo baseRelativePath in the simple/head.ftl template. I have verified that the current path in Struts 2.0.9 of "/struts/dojo" works fine in IE7 and FireFox 2.0. I even used the FireBug plugin to verify this in FireFox.

I am closing this ticket as not a problem. Feel free to re-open this ticket if you have a specific environment that this is not working in for you. Please attach screen shots showing the error so this issue can be debugged.

> 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: 2.0.10
>
>
> 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.