IIOC, the only way you can do this with the stock validator is to use mask
rather than date as the validator. Then, you can use a regex to dictate
your mask. I'll warn you though, if you use a regular expression it's going
to be VERY long because it will also need to validate that the date
Adam Gordon wrote:
IIOC, the only way you can do this with the stock validator is to use mask
rather than date as the validator. Then, you can use a regex to dictate
your mask. I'll warn you though, if you use a regular expression it's going
to be VERY long because it will also need to
HAHA! I would have done the same thing. I don't want things like that
(regexp) creeping around my application, even if I do only have to touch it
once. Ech! shivers
On 8/3/06, Scott Van Wart [EMAIL PROTECTED] wrote:
Adam Gordon wrote:
IIOC, the only way you can do this with the stock
Heh. Regular Expressions aren't for everyone - I happen to work w/ two
engineers who live and die by them.
In your bean setter for the date, I'd make sure no exceptions could be
thrown, or handle them - the code I took over from an engineer we had
that left had this issue and it took me
Adam Gordon wrote:
Heh. Regular Expressions aren't for everyone - I happen to work w/
two engineers who live and die by them.
In your bean setter for the date, I'd make sure no exceptions could be
thrown, or handle them - the code I took over from an engineer we had
that left had this issue
5 matches
Mail list logo