How to register an ActionEventListener implementation?

2009-09-24 Thread nodje
seem to be a good way to me but I don't know how to register this implementation with Struts2/Xwork. Any help or different point of view on how to handle printing stacktraces welcome!! cheers -nodje -- View this message in context: http://www.nabble.com/How-to-register-an-ActionEve

Re: How to register an ActionEventListener

2009-08-22 Thread musomesa
Yes, the interceptors can tinker with the action before the action method executes . Chris -Original Message- From: Karan Malhi To: Struts Users Mailing List Sent: Sat, Aug 22, 2009 10:35 pm Subject: Re: How to register an ActionEventListener Struts 2. If

Re: How to register an ActionEventListener

2009-08-22 Thread Karan Malhi
Want to inject EJB's, however I do not want to add a dependency on spring. On Sat, Aug 22, 2009 at 12:15 PM, Dave Newton wrote: > Karan Malhi wrote: > >> I want to post process an action instance after it is created. I could >> create an ActionEventListener implementation. How would I register t

Re: How to register an ActionEventListener

2009-08-22 Thread Karan Malhi
er action creation. > > > > > > Chris > > > > > > > -Original Message- > From: Karan Malhi > To: user@struts.apache.org > Sent: Fri, Aug 21, 2009 11:28 pm > Subject: How to register an ActionEventListener > > > > > > &g

Re: How to register an ActionEventListener

2009-08-22 Thread Karan Malhi
l your > interceptors > are processing the request after the action is created. > > > > after it is created > > > > > > > > > Chris > > > > > > > -Original Message- > From: Karan Malhi > To: user@struts.apache.org > S

Re: How to register an ActionEventListener

2009-08-22 Thread Dave Newton
Karan Malhi wrote: I want to post process an action instance after it is created. I could create an ActionEventListener implementation. How would I register this class with struts so that it notifies the listener? You could also do this via Spring (although I never have--I'm just guessing). Wh

Re: How to register an ActionEventListener

2009-08-22 Thread musomesa
Sorry -- I should have asked if you were using Struts 1 or 2! Struts 2 interceptors kick in after action creation. Chris -Original Message- From: Karan Malhi To: user@struts.apache.org Sent: Fri, Aug 21, 2009 11:28 pm Subject: How to register an ActionEventListener

Re: How to register an ActionEventListener

2009-08-22 Thread musomesa
Subject: How to register an ActionEventListener I want to post process an action instance after it is created. I could create an ActionEventListener implementation. How would I register this class with struts so that it notifies the listener? -- Karan Singh Malhi

How to register an ActionEventListener

2009-08-21 Thread Karan Malhi
I want to post process an action instance after it is created. I could create an ActionEventListener implementation. How would I register this class with struts so that it notifies the listener? -- Karan Singh Malhi