No. We decided to make this an "either you use the default or not" thing
because Interceptors are a list and additive, unlike results, which are
a map and you can just override defaults. So if you define any
interceptors for the action, the default interceptors are not applied.

> -----Original Message-----
> From: Francisco Hernandez [mailto:[EMAIL PROTECTED] 
> Sent: Monday, September 15, 2003 10:34 PM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] default-interceptor-ref usage
> 
> 
> i've got a default package (that defines the default 
> interceptor stack) 
> and that is extended by a Foo package, in my Foo package all 
> actions use 
> my default stack that was defined in the default package, but when I 
> specify another stack to use in my Foo package actions it 
> just uses the 
> ones I specify, and no longer the default interceptor stack from the 
> default package.
> 
> so in my Foo package ive got
> 
>   <action name="test" class="test.TestAction">
>              <interceptor-ref name="defaultStack"/>
>              <interceptor-ref name="adminChecker"/>
>              <result name="success" 
> type="velocity">/WEB-INF/views/test/test.vm</result>
>   </action>
> 
> 
> shouldnt i be able to use just
> 
>   <action name="test" class="test.TestAction">
>              <interceptor-ref name="adminChecker"/>
>              <result name="success" 
> type="velocity">/WEB-INF/views/test/test.vm</result>
>   </action>
> 
> 
> since defaultStack was set as  <default-interceptor-ref 
> name="defaultStack"/> in my default package
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to