excludeMethods parameter question

2011-07-25 Thread Mano Pájaro
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

Re: excludeMethods parameter question

2011-07-25 Thread Maurizio Cucchiara
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

Re: excludeMethods parameter question

2011-07-25 Thread Mano Pájaro
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

Re: excludeMethods parameter question

2011-07-25 Thread Chris Pratt
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

Re: excludeMethods parameter question

2011-07-25 Thread Mano Pájaro
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.

Re: excludeMethods parameter question

2011-07-25 Thread Chris Pratt
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

Re: excludeMethods parameter question

2011-07-25 Thread Mano Pájaro
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