This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Date Validation not ​validating 01/01/2ee​0 date in struts 1.2​

ashish kulkarni
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to add date validation in validation.xml file, i have it setup as
below, it validates properly data entry like 0A/01/2012 or 01/A2/2012
but it makes date 01/01/2ee3 to be a valid date which is clearly not,

what am i missing


<field property="expirationDate" depends="required,date">
<arg key="label.expirationDate"/>

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic