Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DOJO - Date time picker

 
Vikrant Korde
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I can't help on that, I haven't done much with S2 (other than tech review for Ian's book).
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34839
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vikrant,
Does that happen if you call the Dojo widget directly? If not, we should move this to the Struts forum.
 
Vikrant Korde
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic