RE: Date validator does not ignore nulls

2005-05-06 Thread tarek.nabil
hanks -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 6:12 PM To: Struts Users Mailing List Subject: Re: Date validator does not ignore nulls tarek.nabil wrote: > classname="org.apache.struts.util.StrutsValid

Re: Date validator does not ignore nulls

2005-05-05 Thread Dave Newton
tarek.nabil wrote: Although the validator declares that it depends on required, so (as far as I understand) that means it should not be triggered if the value is null or blank. Nevertheless, it is, and it shows the error that the date is invalid. I checked the source for the class that perfor

Date validator does not ignore nulls

2005-05-05 Thread tarek.nabil
Hi everyone, For some sort of reason, I'm using Struts version 1.1b2. I have a search screen where the user can search using some date fields. I put the following field declaration in my validations.xml file datePattern ${dateFormat} The date validator is declare