This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes DOJO - Date time picker Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "DOJO - Date time picker" Watch "DOJO - Date time picker" New topic
Author

DOJO - Date time picker

Vikrant Korde
Greenhorn

Joined: Jun 16, 2008
Posts: 9
I am using date time picker of DOJO framework supported by struts2.
In case the date format is incorrect or invalid characters, it prints "NaN" for all the characters.
However the requirement is that i still want to show the incorrect characters in the date time picker with the error message that the characters are invalid.
Is there any way to do this.
Frank Zammetti
Ranch Hand

Joined: Dec 16, 2004
Posts: 136
Sorry, I can't help on that, I haven't done much with S2 (other than tech review for Ian's book).


-- <br />Frank W. Zammetti<br />Founder and Chief Software Architect<br />Omnytex Technologies<br /><a href="http://www.omnytex.com" target="_blank" rel="nofollow">http://www.omnytex.com</a><br />AIM/Yahoo: fzammetti<br />MSN: fzammetti@hotmail.com<br />Author of "Practical Ajax Projects With Java Technology"<br /> (2006, Apress, ISBN 1-59059-695-1)<br />and "JavaScript, DOM Scripting and Ajax Projects"<br /> (2007, Apress, ISBN 1-59059-816-4)<br />Java Web Parts - <a href="http://javawebparts.sourceforge.net" target="_blank" rel="nofollow">http://javawebparts.sourceforge.net</a><br /> Supplying the wheel, so you don't have to reinvent it!
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30068
    
149

Vikrant,
Does that happen if you call the Dojo widget directly? If not, we should move this to the Struts forum.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Vikrant Korde
Greenhorn

Joined: Jun 16, 2008
Posts: 9
Hi Jeanne,
I am not sure if we can use this without strtus2. One this is sure that it uses dojo for the rendering calendar. I am using Strut2 for my project development.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DOJO - Date time picker
 
Similar Threads
DojoDateTime Picker problem
Time and date picker in Swings
Validating date using regex and simple date format
how to use dojo DateTimePicker in Struts 2.1.8.1
Struts 2: datetimepicker tag