Not yet... I need to work on docs...

> -----Original Message-----
> From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED] 
> Sent: Monday, April 21, 2003 10:31 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] Paramertized Interceptors
> 
> 
> Great stuff - is that in the Wiki for posterity? :)
> 
> M
> 
> On 22/4/03 12:03 PM, "Jason Carreira" 
> ([EMAIL PROTECTED]) penned the
> words:
> 
> > Well, interceptor parameterization is checked into CVS.
> > 
> > http://jira.opensymphony.com/secure/ViewIssue.jspa?key=XW-26
> > 
> > Interceptors can be parameterized at the declaration level:
> > 
> >       <interceptor name="test" 
> > class="com.opensymphony.xwork.TestInterceptor">
> >           <param name="foo">expectedFoo</param>
> >       </interceptor>
> > 
> > And at the instance level:
> > 
> >       <action name="TestInterceptorParam" 
> > class="com.opensymphony.xwork.SimpleAction">
> >           <interceptor-ref name="test">
> >               <param name="expectedFoo">expectedFoo</param>
> >           </interceptor-ref>
> >       </action>
> > 
> > The one caveat here is that the interceptor-ref may refer to an 
> > interceptor-stack, in which case the parameters are ignored.
> > 
> > Have fun, and let me know if you find any problems.
> > 
> > Jason
> > 
> > --
> > Jason Carreira
> > Technical Architect, Notiva Corp.
> > phone:    585.240.2793
> > fax:    585.272.8118
> > email:    [EMAIL PROTECTED]
> > ---
> > Notiva - optimizing trade relationships (tm)
> > 
> > 
> > 
> > -------------------------------------------------------
> > 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
> 


-------------------------------------------------------
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