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...
> -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
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
>
> 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
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
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)
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
> -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
>
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
>
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
>
> > - 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???
> >
&
> 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'
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
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
14 matches
Mail list logo