Re: Overwritting RequestProcessor, how to???

2004-08-16 Thread David Durham
Rick Reumann wrote: This is another reason why I still think calling validate() manually from your Action is a much better approach then relying on Struts do it for you. If you call form.validate() from your Action you then have control over what you want to do. So in your Action you could do...

RE: Overwritting RequestProcessor, how to???

2004-08-16 Thread Jim Barrows
> -Original Message- > From: Michael Finger [mailto:[EMAIL PROTECTED] > Sent: Monday, August 16, 2004 2:22 PM > To: Struts Users Mailing List > Subject: RE: Overwritting RequestProcessor, how to??? > > > Or you look at this as a opportunity to take aspectj

RE: Overwritting RequestProcessor, how to???

2004-08-16 Thread Michael Finger
Or you look at this as a opportunity to take aspectj for a spin :) Mike -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: Monday, August 16, 2004 2:17 PM To: [EMAIL PROTECTED] Subject: RE: Overwritting RequestProcessor, how to??? Frankly, that's a pretty tr

RE: Overwritting RequestProcessor, how to???

2004-08-16 Thread Joe Hertz
> > Another option is that you can still have your forms over-ride a base > ActionForm and then at the end of the validate method, if you get > errors, you can then call super.validate() which will call your > mySpecificMethod(); of your Super class. I was about to say something like this, but I d

RE: Overwritting RequestProcessor, how to???

2004-08-16 Thread Frank Zammetti
ED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: RE: Overwritting RequestProcessor, how to??? Date: Mon, 16 Aug 2004 17:58:55 -0300 (ART) Frank, as i said, i only want to call another method everytime val

Re: Overwritting RequestProcessor, how to???

2004-08-16 Thread Rick Reumann
Leandro Melo wrote: Frank, as i said, i only want to call another method everytime validate() fails. That's the only thing i wanna do. If i only overwritte ActionForm and create a MyBaseActionForm, in my specific forms i'd have to do something like this inside validate() method. if (errors != null)

RE: Overwritting RequestProcessor, how to???

2004-08-16 Thread Leandro Melo
ct > Omnytex Technologies > www.omnytex.com > > > > > > >From: Leandro Melo <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" > <[EMAIL PROTECTED]> > >To: struts jakarta <[EMAIL PROTECTED]> > >Subject: Ove

RE: Overwritting RequestProcessor, how to???

2004-08-16 Thread Jim Barrows
> -Original Message- > From: Frank Zammetti [mailto:[EMAIL PROTECTED] > Sent: Monday, August 16, 2004 1:15 PM > To: [EMAIL PROTECTED] > Subject: RE: Overwritting RequestProcessor, how to??? > > > Maybe it would be enough to just write your own base class >

RE: Overwritting RequestProcessor, how to???

2004-08-16 Thread Frank Zammetti
To: struts jakarta <[EMAIL PROTECTED]> Subject: Overwritting RequestProcessor, how to??? Date: Sun, 15 Aug 2004 14:06:34 -0300 (ART) Hi, i'd like to overwirte RequestProcessor, but actually i don't really know if it's a good idea. Here's the point: I'd like to have one more

Re: Overwritting RequestProcessor, how to???

2004-08-16 Thread Niall Pemberton
> Sent: Monday, August 16, 2004 3:38 AM Subject: Re: Overwritting RequestProcessor, how to??? > Niall, > i actually use tiles, but does it mean that the > requestProcessor i'm using is the Tiles one. > In my struts-config.xml i got this for the > configuration part. > &g

Re: Overwritting RequestProcessor, how to???

2004-08-15 Thread Hubert Rabago
> > > - Original Message - > > From: "Leandro Melo" <[EMAIL PROTECTED]> > > To: "struts jakarta" <[EMAIL PROTECTED]> > > Sent: Sunday, August 15, 2004 6:06 PM > > Subject: Overwritting RequestProcessor, how to??? > > &

Re: Overwritting RequestProcessor, how to???

2004-08-15 Thread Leandro Melo
> To: "struts jakarta" <[EMAIL PROTECTED]> > Sent: Sunday, August 15, 2004 6:06 PM > Subject: Overwritting RequestProcessor, how to??? > > > > Hi, > > i'd like to overwirte RequestProcessor, but > actually i > > don't really know if it'

Re: Overwritting RequestProcessor, how to???

2004-08-15 Thread Niall Pemberton
27;re doing. Niall - Original Message - From: "Leandro Melo" <[EMAIL PROTECTED]> To: "struts jakarta" <[EMAIL PROTECTED]> Sent: Sunday, August 15, 2004 6:06 PM Subject: Overwritting RequestProcessor, how to??? > Hi, > i'd like to overwirte Request

Overwritting RequestProcessor, how to???

2004-08-15 Thread Leandro Melo
Hi, i'd like to overwirte RequestProcessor, but actually i don't really know if it's a good idea. Here's the point: I'd like to have one more action if my form.validate() method fails on ActionForm. I'd like to do some specific stuff everytime the validate method fails. Then, i thought of overwrit