That did the trick.

Thanks,
George

On Thu, Apr 24, 2008 at 1:44 PM, Jason Vinson <[EMAIL PROTECTED]> wrote:

> You can use something like the following in the decorator's init method:
>
> WebApplicationContext wac =
> WebApplicationContextUtils.getWebApplicationContext(pageContext.getServletContext());
>
> The WAC is the application context for the webapp, so you can then just do
> a "getBean" for what you are looking for.
>
> Hope this helps,
> Jason
>
>
> On Thu, Apr 24, 2008 at 12:01 PM, georz1 <[EMAIL PROTECTED]> wrote:
>
> > Any advice on how to get Spring to inject a managed bean a
> > TableDecorator class.  I've tried both injecting via a get/set manner and
> > even making the TableDecorator BeanFactoryAware.  Both instances return
> > null.
> >
> > Thanks-
> > George
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > Don't miss this year's exciting event. There's still time to save $100.
> > Use priority code J8TL2D2.
> >
> > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> > _______________________________________________
> > displaytag-user mailing list
> > displaytag-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/displaytag-user
> >
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
>
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to