I had a look at ScopedModelDrivenInterceptor but I didn't managed to get it to work .There isn't much documentation on it or any examples how the params are passed in the action :(
On Tue, Jun 24, 2008 at 1:41 PM, <[EMAIL PROTECTED]> wrote: > Take a look at the Scoped Model Driven > Interceptor<http://struts.apache.org/2.x/docs/scoped-model-driven-interceptor.html> > > Scott > > On Tue, Jun 24, 2008 at 6:32 AM, John Smith <[EMAIL PROTECTED]> wrote: > >> On Tue, Jun 24, 2008 at 1:12 PM, Dave Newton <[EMAIL PROTECTED]> >> wrote: >> > --- On Tue, 6/24/08, John Smith <[EMAIL PROTECTED]> wrote: >> >> Which interceptor can I use to access session objects by >> >> putting them as parameters in struts.xml? >> > >> > What, specifically, are you trying to accomplish? >> >> Basically I add objectXYZ to the session in actionA then the user >> submits a query to ActionB. I want to retrieve objectXYZ from the >> session without directly calling the a method on the session object >> inside actionB in order to retrieve objectXYZ. >> >> I looked at staticParameters and I can retrieve static param strings >> set in struts.xml by only having getter and setter methods in an >> action so I wanted to do something similar with dynamicly created >> objects and referencing them in struts.xml >> >> >> > Dave >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > Scott > [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]