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
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
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 :
...
-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
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
-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
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
:[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
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
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
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
]
-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
12 matches
Mail list logo