File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30749
    
156

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.
 
wood burning stoves
 
subject: DOJO - Date time picker