BTW, an example of a custom validator that does just that is given in the O'Reilly book (JavaServer Faces, Hans Bergsten) on pp. 127 - 131.
- Brendan -----Original Message----- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Friday, September 30, 2005 10:06 AM To: MyFaces Discussion Subject: Re: Validator As far as I know, there aren't any validators available yet that compare the values of two components other than validateEqual. However, it should be pretty trivial to modify validateEqual to be validateBefore. If nothing else, I'll need to write it myself soon for my own use. I'd also like to see a validateOtherComponentRequired validator. http://myfaces.apache.org/tomahawk/validateEqual.html On 9/29/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello! > > Have a question concering the validator of the inputDate component. > How can I use it :-) > I have two inputDate components "startDate" and "endDate" and I want to guarantee that the startDate is before the endDate. Is this possible? > > By the way! Is there a validation which I can use to check that the user doesn't overwrite a document with the same name. > So if he/she save a report which has the same name as a report already stored in the database, i want to show a confirm window. Is ther a validation I can use? > > Thanks in advance, > > regards Conny > > -- > Ein Service von http://www.sms.at > >

