Hello list! I'm making a research about Struts2 and there are several things
that I don't understand (haha), I have studied really hard and I think I'm
in the righ way now, but there's a thing that i don't understand about this
examples i found about interceptors, i'm talking about the parameter
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
Thanks Maurizio, let me see if i got it straight. You mean that, for
example:
interceptor-ref name=validation
param
name=excludeMethodsinput,back,cancel/param/interceptor-ref
won't be executed by results whose name is input, back or cancel?
2011/7/25 Maurizio Cucchiara
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 mano0...@gmail.com wrote:
Thanks Maurizio, let me see if i got it straight. You mean that, for
I see mm so, it only acts on the action which method attribute is diferent
from in the list, that's it? :D
2011/7/25 Chris Pratt thechrispr...@gmail.com
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.
Exactly, so the default (execute) would run the validation, but not the ones
that are listed.
(*Chris*)
On Mon, Jul 25, 2011 at 4:53 PM, Mano Pájaro mano0...@gmail.com wrote:
I see mm so, it only acts on the action which method attribute is diferent
from in the list, that's it? :D
Thank u for everything! I will keep studying! :D
--
Manolo Pájaro Santander
Ingeniero de Sistemas VIII Semestre (Actual)
Promoviendo el Software Libre
CUSOL-UAC
Linux Registered User # 522026
7 matches
Mail list logo