You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Igor Vlasov <vi...@mail.ru> on 2007/10/19 08:31:34 UTC

How to change excludeMethods parameter for validationInterceptor ?

Hello.

I want to change excludeMethods parameter for validationInterceptor in
defaultStack.

For one action I can use 

<pre>
&lt;interceptor-ref name="defaultStack">
        &lt;param
name="validation.excludeMethods">input,delete,browse&lt;/param>
        &lt;param
name="workflow.excludeMethods">input,delete,browse&lt;/param>
&lt;/interceptor-ref>
</pre>

It works good. :clap:

For one package I tried: 
<pre>
 &lt;default-interceptor-ref name="defaultStack">
      &lt;param name="validation.excludeMethods">input,delete,browse
      &lt;param name="workflow.excludeMethods">input,delete,browse
 &lt;/default-interceptor-ref> 
</pre>
This appoach DO NOT Work!!! :confused:

How can i change validation.excludeMethods param for WHOLE package? Or may
by GLOBAL for all packages? 
:-/




-- 
View this message in context: http://www.nabble.com/How-to-change-excludeMethods-parameter-for-validationInterceptor---tf4651349.html#a13289067
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org