Hi,
The Calendar class in Java has a ".before" test.  And a ".after" check.  I 
don't know if there is a "date validator".

hth,

Mark


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Malin Ljungh
Sent: Fri 6/16/2006 1:32 PM
To: Tapestry users
Subject: Input dates validator
 
Hi all,

I'm a newbie and just too tired think right now. Please help me :)

I have a form with two TextFields where the user should enter somes dates. I
use the date validator to check that correct dates are supplied.
Though, I need to check that date2 < date1 - how can I do this? Can I use
the minDate and give the other date value as parameter? Hmm, I guess not? I
suppose I need to write my own ValidationDelegeate... is this the right way
to go?

Regards,
Malin

Reply via email to