--- akash agrawal <[EMAIL PROTECTED]> wrote:
> Thanks for the response.
> Could you give an example of how to use the approach you suggested?
> Here is my code:
> <interceptor-stack name="myStack">
>   <interceptor-ref name="defaultStack">
>     <param name="validation.excludeMethods">delete, getA, getB</param>
>   </interceptor-ref>
> </interceptor-stack>            

Oops, chalk another one up to my lack of sleep. I was confusing your question
with an earlier thread regarding the ParameterNameAware interface, which is
pretty far off the mark and not even remotely related.

Sorry.

That said, you could instead supply an "includeMethods" parameter which is a
whitelist of methods for which validation should be run: it's the opposite of
"excludeMethods" and may server you better in this case.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to