Hi All,
I am using struts version 2.1.8.1 and below is a test code to render DOJO time
picker
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Insert title here</title>
<sx:head cache="false" compressed="false" debug="true" parseContent="true"/>
</head>
<body>
<s:form id="eventForm" action="eventForm" method="POST"
enctype="multipart/form-data"
onsubmit="javascript: submitEventForm(); return true;" theme="simple">
Time <sx:datetimepicker name="mycomp" type="time"
id="mycomp" />
</s:form>
</body>
</html>
However, the time picker is not rendered only on IE 7/8 and I can see the
following in debug log. Please note that the date picker renders without any
issues
DEBUG: dojo.widget.Parse: error: [Error: Invalid argument.]
Please help.
Regards,
John[http://www.smartonline.com/]
Note: The information contained in this email is privileged and confidential
information intended for the use of the addressee. If the reader of this email
is not the intended recipient, or the employee or agent thereof, you are hereby
notified that any dissemination, distribution, or copying of this communication
is strictly prohibited. If you received this email in error, please immediately
notify the sender listed above and destroy this message