Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Dojo datetimepicker issue in Struts2.2.3.1

 
Greenhorn
Posts: 4
Netbeans IDE Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
What a show! What atmosphere! What fun! What a tiny ad!
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic