Date validation problem?

2003-12-30 Thread Brice Ruth
I'm testing the JavaScript validation for my form and noticed that the JavaScript generated to validate my date fields throws an error that I can see in Firebird's JavaScript console. Here's the error: datePattern has no properties and here's the line it occurs on: for (x in oDate) { var va

date validation problem

2004-03-16 Thread Jignesh Patel
On Tuesday 16 March 2004 21:03, Jignesh Patel wrote: > When ever I am using method isDate of GenericValidator I am getting > following error. Even for my date format 12-DEC-2004 I am getting same > exception. I coudn't able to figure out what is the problem. > > -Jignesh > > > ava.lang.IllegalArgum

date validation problem

2002-10-11 Thread Nicolas Robert
Hello, I use struts validator to check if a date that's not required has a correct format. It's working fine, but if the user leave the date field empty and submit the form, Struts generate an invalide date format error. Here's the sample of my validator.xml file : ...

RE: Date validation problem?

2003-12-30 Thread Andy Schmidgall
-Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 9:55 AM To: Struts Users Mailing List Subject: Date validation problem? I'm testing the JavaScript validation for my form and noticed that the JavaScript generated to validate my d

Re: Date validation problem?

2003-12-30 Thread Brice Ruth
from the datePatternStrict var which isn't defined, so the javascript datePattern var isn't a valid object. -Andy -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 9:55 AM To: Struts Users Mailing List Subject: Date validation pro

RE: Date validation problem?

2003-12-30 Thread Andy Schmidgall
-Andy -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 10:44 AM To: Struts Users Mailing List Subject: Re: Date validation problem? Aha, so all I need to do is change "datePattern" to "datePatternStrict" in my XML? Andy Schmid

Re: Date validation problem?

2003-12-30 Thread Brice Ruth
ing the error because it's trying to load from the datePatternStrict var which isn't defined, so the javascript datePattern var isn't a valid object. -Andy -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 9:55 AM To: Struts Users Mailing

RE: Date validation problem?

2003-12-30 Thread Andy Schmidgall
:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 11:08 AM To: Struts Users Mailing List Subject: Re: Date validation problem? How exactly do I get server-side validation? Is this an XOR condition? Either javascript or server-side, but not both? Andy Schmidgall wrote: >The javascript sho

Re: Date validation problem?

2003-12-30 Thread Brice Ruth
t, you may get slightly different results as they are supposed to act slightly differently. :) -Andy -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 11:08 AM To: Struts Users Mailing List Subject: Re: Date validation problem? How exactl

RE: date validation problem

2002-10-11 Thread Peggy Davidson
rebuild See thread: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg40614.html Peggy -Original Message- From: Nicolas Robert [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 9:02 AM To: 'Struts Users Mailing List' (E-mail) Subject: date validation problem

RE: date validation problem

2002-10-11 Thread Jerry Jalenak
2 8:00 AM > To: Struts Users Mailing List; [EMAIL PROTECTED] > Subject: RE: date validation problem > > > If you search the archive you will find that there was a > patch applied > shortly after the beta 2 release for the StrutsValidator > Class. I resolved > mine by do

RE: date validation problem

2002-10-11 Thread Peggy Davidson
] -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 9:03 AM To: 'Struts Users Mailing List' Subject: RE: date validation problem Which nightly did you bring down? I had the same problem, brought down the 20021008 nightly, and sti