struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Pratt <thechrispr...@gmail.com>
Subject Re: excludeMethods parameter question
Date Mon, 25 Jul 2011 22:07:45 GMT
Not exactly.  It would not execute for actions whose method name is input,
back or cancel.  It's on the action side, not the result side.
  (*Chris*)

On Mon, Jul 25, 2011 at 2:59 PM, Mano Pájaro <mano0313@gmail.com> wrote:

> Thanks Maurizio, let me see if i got it straight. You mean that, for
> example:
>
> <interceptor-ref name="validation">
>                    <param
> name="excludeMethods">input,back,cancel</param></interceptor-ref>
>
> won't be executed by results whose name is input, back or cancel?
>
> 2011/7/25 Maurizio Cucchiara <maurizio.cucchiara@gmail.com>
>
> > There are some interceptors, like validator one, which are not triggered
> in
> > case of the name of the invoked method matches one of the list element
> > (there is no reason to validate an input action, you don't yet obtain the
> > user input, so you have anything to validate).
> > Hope this help.
> >
> > Maurizio Cucchiara
> >
> >
> --
> Manolo Pájaro Santander
> Ingeniero de Sistemas VIII Semestre (Actual)
> <<Promoviendo el Software Libre>>
> CUSOL-UAC
> Linux Registered User # 522026
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message