That's my point; why ru arguing with me? *hic*
-Original Message-
From: Adam L [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 8:54 AM
To: Struts Users Mailing List
Subject: Re: Birthdate validation ?
Are you drunk again? (=
It does understand leap years.
2004 is a
x27;s the purpose of lenient.
- Original Message -
From: "Mark Galbreath" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, July 24, 2003 7:10 AM
Subject: RE: Birthdate validation ?
I don't have time f
ssage-
From: Yee, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 4:42 PM
To: 'Struts Users Mailing List'
Subject: RE: Birthdate validation ?
Try it and find out for yourself. It does produce 3/1/2003.
-Richard
-Original Message-
From: Mark Ga
Childers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 4:40 PM
To: Struts Users Mailing List
Subject: RE: Birthdate validation ?
Because, except on leap years, there is no 2/29.
Silly person.
-= J
> -Original Message-
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Try it and find out for yourself. It does produce 3/1/2003.
-Richard
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 1:32 PM
To: 'Struts Users Mailing List'
Subject: RE: Birthdate validation ?
What makes you say that?
Because, except on leap years, there is no 2/29.
Silly person.
-= J
> -Original Message-
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 23, 2003 3:32 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Birthdate validation ?
>
t;
> Calendar.getTime() -> Date
>
>
> From: Erez Efrati <[EMAIL PROTECTED]>
> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: Birthdate validation ?
&g
.
Jayaraman
-Original Message-
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 3:25 PM
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: Birthdate validation ?
Thanks for the quick reply, seems pretty easy but a bit long for just a
da
On Wed, Jul 23,'03 (09:37 PM GMT+0200), Erez wrote:
> Since I am not an HTML wizard (yet :) ) my first attempt was as
> follows:
>
> What also bugs me is the scriplet iteration using actual java code -
> any idea how to do it more elegant?
Just use the normal Struts validation framework. For va
On Wed, Jul 23,'03 (09:03 PM GMT+0200), Erez wrote:
> I have a birth date field composed of three different fields of day
> month and a year. Now, what is the best way to receive those three and
> combine them into a java.sql.Date class and performing validation
> using the validator?
Search th
Shneyderman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 8:30 PM
To: 'Struts Users Mailing List'
Subject: RE: Birthdate validation ?
There is a date validator. I am not sure why a birthdate is any
different?
How do you present your field to the user is it a one input text?
sers Mailing List'; [EMAIL PROTECTED]
> Subject: RE: Birthdate validation ?
>
> Thanks for the quick reply, seems pretty easy but a bit long for just
a
> date. Anyway, is there a validator I could use or do I have to write
one
> of my own? And I mean Struts Validator..
>
> Erez
&
, 2003 8:21 PM
To: 'Struts Users Mailing List'
Subject: RE: Birthdate validation ?
Be carefull with that because if you set Feb 29, 2003 your date is going
to be March 1, 2003 and Calendar will not say a thing. You should
probably fix a birthdate validator.
> -Original Message-
8 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Birthdate validation ?
>
>
> Use Calendar, more than likely the concrete GregorianCalendar.
>
> Calendar.setField(, ); x3
>
> Calendar.getTime() -> Date
>
>
> From: Erez Efrati <[EMAIL PROTECTED]>
>
trigger happy send am I.
then with your (java.util)Date
new java.sql.Date( utilDate.getTime() );
From: "Adam Levine" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Birthdate validation ?
Date:
Use Calendar, more than likely the concrete GregorianCalendar.
Calendar.setField(, ); x3
Calendar.getTime() -> Date
From: Erez Efrati <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: 'Struts Users Mailing List' <
I have a birth date field composed of three different fields of day
month and a year. Now, what is the best way to receive those three and
combine them into a java.sql.Date class and performing validation using
the validator?
Hope someone been there done that..
Thanks,
Erez
--
17 matches
Mail list logo