Hi there, That would be the problem...
Makes me wish the OReilly book I'm using as a reference had mentioned that somewhere... Thanx to all who answered! c'ya Mike ---- Mike Boucher [EMAIL PROTECTED] Edgil Associates www.edgil.com "Don't take life too seriously, you'll never get out of it alive!" "Joe Hertz" <[EMAIL PROTECTED] To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> easy.net> cc: Subject: RE: Validator vs form Validate() method. 04/15/2004 05:51 PM Please respond to "Struts Users Mailing List" You can implement the validate method and user the validator too. Call super.validate(mapping, request) in your validate method, and it will return to you the ActionErrors the validator framework generates. > -----Original Message----- > From: Nathan Maves [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 15, 2004 5:45 PM > To: Struts Users Mailing List > Subject: Re: Validator vs form Validate() method. > > > Ahh after a little research I think I might have answered that wrong. > > What is your action form extending? > > Nathan > > On Apr 15, 2004, at 3:37 PM, Nathan Maves wrote: > > > I am just a newB but couldn't you call the validate method from your > > execute method. This way the validator will catch any of the easy > > validations and your validate method will get the complex ones. > > > > Again just a newB answer. > > > > Nathan > > > > > > On Apr 15, 2004, at 2:40 PM, [EMAIL PROTECTED] wrote: > > > >> Hi folks, > >> > >> I've gotten myself sorely confused here... > >> > >> I've set up the validator to do simple validation on my forms. By > >> "simple > >> validation" I mean checking for required fields and integer input, > >> etc. > >> > >> I need to use the validate() method to do more complex > validation on > >> one > >> form, I need to verify that a date the user enters is in > the future. > >> > >> The problem is that it seems that as soon as I implement the > >> validate() > >> method in my form, it seems to bypass the validator, all > those checks > >> are > >> no longer done. If I comment out validate(), the validator starts > >> working > >> again. (Note: This is the behavior I see whether or not the > >> validation in > >> validate() passes or fails) > >> > >> Have I got something configured incorrectly, or is this > the way its > >> intended to work? > >> > >> Thanx! > >> > >> c'ya > >> Mike > >> ---- > >> Mike Boucher [EMAIL PROTECTED] > >> Edgil Associates www.edgil.com > >> > >> "Don't take life too seriously, you'll never get out of it alive!" > >> > >> > >> > --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]