Alex,
The best thing to do is to make your interceptor implement XxxAware, which
is the enabler for the component you want to get a handle to. Then, with the
interceptor running _after_ the ComponentInterceptor, do the following in
your interceptor:

ComponentManager cm = ActionContext.getContext().getComponentManager();
cm.initialize(this);

Or something like that. There may not be a getComponentManager() method, in
which case... there should be :)

-Pat

----- Original Message -----
From: "Alexandru Roman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 12, 2003 7:51 AM
Subject: [OS-webwork] newbie question...


> how can I access a session IOC component from an interceptor?
>
> thanks,
>
> Alex.
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
>
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
>


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to