aspose file tools
The moose likes Struts and the fly likes Dojo datetimepicker issue in Struts2.2.3.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Dojo datetimepicker issue in Struts2.2.3.1" Watch "Dojo datetimepicker issue in Struts2.2.3.1" New topic
Author

Dojo datetimepicker issue in Struts2.2.3.1

Raj Kuppala
Greenhorn

Joined: Nov 20, 2011
Posts: 4


Hi,

here I have an issue with dojo <sx:datetimepicker> control as, I wrote code as follows:

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="sx" uri="/struts-dojo-tags" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Add Order</title>
<sx:head/>
</head>
<body>
<s:form action="addClient.action" name="formName">
<sx:datetimepicker label="Ship Date" name="sdate" displayFormat="dd-MMM-yyyy" required="true" toggleDuration="200" toggleType="fade"></sx:datetimepicker>
<sx:datetimepicker type="time" label="Ship Time" name="stime" displayFormat="hh:mm:ss"></sx:datetimepicker>

<s:submit value="Place Order"></s:submit>
</s:form>
</body>
</html>


Here the first control i.e date control is displaying (or working) properly,but when it is come to second control i.e timepicker its displaying only label but it’s fail to display textbox and icon for this time picker control.

Please help me regarding this.


Thanks & Regards,
Rajendra Prasad K,
Cognizant Technology Solutions.
India.
Dojo datetimepicker issue in Struts2.2.3.1

Regards,
RP Royal.K,
Cognizant (India),
Mail Me: raj.prasad1224@gmail.com
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Dojo datetimepicker issue in Struts2.2.3.1
 
Similar Threads
struts dojo + displaytags clashing
form is not being divided
validation problem in ActionClass-validation.xml
autocompleter and datetimepicker not working in Struts 2
Struts 2: datetimepicker tag