You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Sebastian (JIRA)" <ji...@apache.org> on 2007/02/12 17:02:17 UTC

[jira] Created: (WW-1734) datetimepicker tag broken

datetimepicker tag broken
-------------------------

                 Key: WW-1734
                 URL: https://issues.apache.org/struts/browse/WW-1734
             Project: Struts 2
          Issue Type: Bug
          Components: Views
    Affects Versions: 2.0.5
            Reporter: Sebastian


datetimepicker tag does not render the input field  and date picker. only the labels are rendered.

The corrensponding action class in the exaple below  has fields "von" and "bis" of type "java.util.Date" and appropriate getters/setters. Other tags like textfield get rendered without any problem.


jsp source:

<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Insert title here</title>
<s:head/>
</head>
<body>
	<fieldset>
		<s:form action="Bearbeiten">
			<s:datetimepicker name="von" label="Gilt von" required="true"></s:datetimepicker>
			<s:datetimepicker name="bis" label="Gilt bis" ></s:datetimepicker>		
			</s:submit>
		</s:form>
	</fieldset>
</body>
</html>

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


[jira] Updated: (WW-1734) datetimepicker tag broken

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

Ted Husted updated WW-1734:
---------------------------

    Fix Version/s: 2.0.6

> datetimepicker tag broken
> -------------------------
>
>                 Key: WW-1734
>                 URL: https://issues.apache.org/struts/browse/WW-1734
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>    Affects Versions: 2.0.5
>            Reporter: Sebastian
>             Fix For: 2.0.6
>
>
> datetimepicker tag does not render the input field  and date picker. only the labels are rendered.
> The corrensponding action class in the exaple below  has fields "von" and "bis" of type "java.util.Date" and appropriate getters/setters. Other tags like textfield get rendered without any problem.
> jsp source:
> <%@ taglib prefix="s" uri="/struts-tags" %>
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
> <title>Insert title here</title>
> <s:head/>
> </head>
> <body>
> 	<fieldset>
> 		<s:form action="Bearbeiten">
> 			<s:datetimepicker name="von" label="Gilt von" required="true"></s:datetimepicker>
> 			<s:datetimepicker name="bis" label="Gilt bis" ></s:datetimepicker>		
> 			</s:submit>
> 		</s:form>
> 	</fieldset>
> </body>
> </html>

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


[jira] Commented: (WW-1734) datetimepicker tag broken

Posted by "Sebastian (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40110 ] 

Sebastian commented on WW-1734:
-------------------------------

Error message displayed in the browser. Stange, the message si only displayed in IE 6, not Firefox 2.0.


FATAL: Could not load 'dojo.widget.html.DatePicker'; last tried '__package__.js'


Seems the required dojo component is not found..  Must there be something configured for this to work?
I did not find anything in the documentation regarding this.

> datetimepicker tag broken
> -------------------------
>
>                 Key: WW-1734
>                 URL: https://issues.apache.org/struts/browse/WW-1734
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>    Affects Versions: 2.0.5
>            Reporter: Sebastian
>
> datetimepicker tag does not render the input field  and date picker. only the labels are rendered.
> The corrensponding action class in the exaple below  has fields "von" and "bis" of type "java.util.Date" and appropriate getters/setters. Other tags like textfield get rendered without any problem.
> jsp source:
> <%@ taglib prefix="s" uri="/struts-tags" %>
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
> <title>Insert title here</title>
> <s:head/>
> </head>
> <body>
> 	<fieldset>
> 		<s:form action="Bearbeiten">
> 			<s:datetimepicker name="von" label="Gilt von" required="true"></s:datetimepicker>
> 			<s:datetimepicker name="bis" label="Gilt bis" ></s:datetimepicker>		
> 			</s:submit>
> 		</s:form>
> 	</fieldset>
> </body>
> </html>

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


[jira] Resolved: (WW-1734) datetimepicker tag broken

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

Musachy Barroso resolved WW-1734.
---------------------------------

    Resolution: Cannot Reproduce
      Assignee: Musachy Barroso

You need to set the head "theme" attribute to ajax. 

<s:head theme="ajax" />

It does seem like there are two issues in one here.

> datetimepicker tag broken
> -------------------------
>
>                 Key: WW-1734
>                 URL: https://issues.apache.org/struts/browse/WW-1734
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>    Affects Versions: 2.0.5
>            Reporter: Sebastian
>         Assigned To: Musachy Barroso
>             Fix For: 2.0.7
>
>
> datetimepicker tag does not render the input field  and date picker. only the labels are rendered.
> The corrensponding action class in the exaple below  has fields "von" and "bis" of type "java.util.Date" and appropriate getters/setters. Other tags like textfield get rendered without any problem.
> jsp source:
> <%@ taglib prefix="s" uri="/struts-tags" %>
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
> <title>Insert title here</title>
> <s:head/>
> </head>
> <body>
> 	<fieldset>
> 		<s:form action="Bearbeiten">
> 			<s:datetimepicker name="von" label="Gilt von" required="true"></s:datetimepicker>
> 			<s:datetimepicker name="bis" label="Gilt bis" ></s:datetimepicker>		
> 			</s:submit>
> 		</s:form>
> 	</fieldset>
> </body>
> </html>

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