On Fri, 18 Feb 2005 09:04:32 -0800, Don Brown wrote: >�There is a middle ground which I have been playing with on and off >�frequently called "interceptors". �In WebWork2, you can define >�action interceptors that intercept certain actions, defined at a >�per-action level. �With Struts Action Invocation Framework (SAIF) >�at struts.sf.net/saif , we ported interceptors to pre-chain Struts, >�but it would be interesting to integrate that work with Struts as >�it is now. �It would be nice to define code that would be executed >�only before certain groups of actions.
Why not add a Command to the request processing chain that acts as an interceptor. The Command looks for the group of Actions, does it's business when they come along, and ignores the rest. -Ted. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
