File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

DOJO - Date time picker

Vikrant Korde

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="" target="_blank" rel="nofollow"></a><br />AIM/Yahoo: fzammetti<br />MSN:<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="" target="_blank" rel="nofollow"></a><br /> Supplying the wheel, so you don't have to reinvent it!
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33119

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

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Vikrant Korde

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:
subject: DOJO - Date time picker
It's not a secret anymore!