datePattern doesn't work -- you must use datePatternStrict unless you
modify the javascript validation function.
This line is where the pattern is loaded:
var datePattern = oDate[x][2](datePatternStrict);
Notice that it's loading datePatternStrict instead of datePattern from
the oDate object.
Aha, so all I need to do is change datePattern to datePatternStrict
in my XML?
Andy Schmidgall wrote:
datePattern doesn't work -- you must use datePatternStrict unless you
modify the javascript validation function.
This line is where the pattern is loaded:
var datePattern =
-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 Schmidgall wrote:
datePattern
datePatternStrict, so be aware that if you were
counting on datePattern functionality serverside, it may not work as you
had expected.
-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
:[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 should work
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 exactly do I get server
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 downloading the latest struts.jar only and it fixed the problem just
fine. Or, you can download the source file and fix the problem and
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 downloading the latest struts.jar only and it fixed
]
-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 still had
9 matches
Mail list logo