[jira] Created: (WW-3327) s:datetimepicker when the page returned from an action - doesnt display in struts 2.1.8

View: New views
4 Messages — Rating Filter:   Alert me  

[jira] Created: (WW-3327) s:datetimepicker when the page returned from an action - doesnt display in struts 2.1.8

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

s:datetimepicker when the page returned from an action - doesnt display in struts 2.1.8
---------------------------------------------------------------------------------------

                 Key: WW-3327
                 URL: https://issues.apache.org/struts/browse/WW-3327
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Dojo Tags
    Affects Versions: 2.1.8
            Reporter: Ramakrishna R AllaM


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.
OR Am I missing something here?


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


[jira] Commented: (WW-3327) s:datetimepicker when the page returned from an action - doesnt display in struts 2.1.8

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/struts/browse/WW-3327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47056#action_47056 ]

Ramakrishna R AllaM commented on WW-3327:
-----------------------------------------

When I check my source generated in FF using Firebug, i see the following:

<script src="//struts/dojo/struts_dojo.js" type="text/javascript" language="JavaScript">
Failed to load source for: http://struts/dojo/struts_dojo.js
</script>
<script src="//struts/ajax/dojoRequire.js" type="text/javascript" language="JavaScript">
Failed to load source for: http://struts/ajax/dojoRequire.js
</script>
<link type="text/css" href="//struts/xhtml/styles.css" rel="stylesheet">
Failed to load source for: http://struts/xhtml/styles.css
</link>
<script type="text/javascript" src="//struts/utils.js" language="JavaScript">
Failed to load source for: http://struts/utils.js
</script>
<script type="text/javascript" src="//struts/xhtml/validation.js" language="JavaScript">
Failed to load source for: http://struts/xhtml/validation.js
</script>
<script type="text/javascript" src="//struts/css_xhtml/validation.js" language="JavaScript">
Failed to load source for: http://struts/css_xhtml/validation.js
</script>

> s:datetimepicker when the page returned from an action - doesnt display in struts 2.1.8
> ---------------------------------------------------------------------------------------
>
>                 Key: WW-3327
>                 URL: https://issues.apache.org/struts/browse/WW-3327
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.1.8
>            Reporter: Ramakrishna R AllaM
>
> 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.
> OR Am I missing something here?

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


[jira] Commented: (WW-3327) s:datetimepicker when the page returned from an action - doesnt display in struts 2.1.8

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/struts/browse/WW-3327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47057#action_47057 ]

Rama commented on WW-3327:
--------------------------

My JSP code is this:
-----------------------------
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>

<html>
<head>
  <sx:head/>
</head>

<body style="font-size:62.5%;">
<s:form>
testing...${journeyDate}
<sx:datetimepicker id="test" name="test" displayFormat="dd-MMM-yyyy" />
after printing date
</s:form>
</body>

</html>

I have my dojo plug in 2.1.8 jar in my web-inf/lib also.
please let me know if I am missing anything .

> s:datetimepicker when the page returned from an action - doesnt display in struts 2.1.8
> ---------------------------------------------------------------------------------------
>
>                 Key: WW-3327
>                 URL: https://issues.apache.org/struts/browse/WW-3327
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.1.8
>            Reporter: Rama
>
> 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.
> OR Am I missing something here?

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


[jira] Resolved: (WW-3327) s:datetimepicker when the page returned from an action - doesnt display in struts 2.1.8

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Musachy Barroso resolved WW-3327.
---------------------------------

    Resolution: Won't Fix

the dojo plugin is deprecated and bug will not be fixed on it, pleas ask questions on the users mailing list.

> s:datetimepicker when the page returned from an action - doesnt display in struts 2.1.8
> ---------------------------------------------------------------------------------------
>
>                 Key: WW-3327
>                 URL: https://issues.apache.org/struts/browse/WW-3327
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.1.8
>            Reporter: Rama
>
> 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.
> OR Am I missing something here?

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