You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "zhouyanming (JIRA)" <ji...@apache.org> on 2007/06/19 11:53:27 UTC

[jira] Created: (WW-2001) tag datetimepicker doesn't work

tag datetimepicker doesn't work
-------------------------------

                 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: Antonio Petrelli


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WW-2001) tag datetimepicker doesn't work

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted updated WW-2001:
---------------------------

    Fix Version/s: Future

Setting Fix Version to "future" for issues without a set fix version. 


> tag datetimepicker doesn't work
> -------------------------------
>
>                 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
>             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,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.


[jira] Assigned: (WW-2001) tag datetimepicker doesn't work

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Petrelli reassigned WW-2001:
------------------------------------

    Assignee:     (was: Antonio Petrelli)

Why was it assigned to me?
Removed assignment.

> tag datetimepicker doesn't work
> -------------------------------
>
>                 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
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Assigned: (WW-2001) tag datetimepicker doesn't work

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes reassigned WW-2001:
--------------------------------

    Assignee: James Holmes

> tag datetimepicker doesn't work
> -------------------------------
>
>                 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,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.


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

Posted by "arkrangarao@yahoo.com (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47055#action_47055 ] 

arkrangarao@yahoo.com commented on WW-2001:
-------------------------------------------

Hi,

I am trying to use sx:datetimepicker in my JSP. Struts version used is 2.1.8

I have included <sx:head/> and also written the taglib directive (struts-dojo-tags) in the JSP. 

There are two cases - 
1) the page(test.jsp) just has the <s:datetimepicker> -> working fine when the request directly comes to the JSP - like http://localhost:8081/test.jsp

2) there is an action which is returning the test.jsp page. I am calling that action http://localhost:8081/test.do - now the date picker is not getting displayed. 

Can you please let me know if there is any issue with the datetimepicker regadring this issue? If yes, please let me know what to do to resolve this issue



> 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: Plugin - Tags
>    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.


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

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
     [ 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.