Works like a charm! Thanks Brian for such a quick reply to a newbie question :)
Best regards, Stefan On Nov 3, 6:18 pm, Brian Pontarelli <[email protected]> wrote: > If your Injector is in a singleton or the ServletContext, just grab it > out and call: > > getMemberInjector(this.getClass()).injectMembers(this); > > I do this in the constructor or the setPageContext method or any of > the other methods. Also, watch out for tag instance pooling depending > on your use cases. > > -bp > > On Nov 3, 2009, at 10:45 AM, Stefan wrote: > > > > > > > We have quite an extensive tag library which could benefit from proper > > dependency injection - is there anyway to get Guice to inject classes > > that extend SimpleTagSupport? I'm guessing standard guice-servlet will > > not help me here? > > > Appreciate your help, > > Stefan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-guice?hl=en -~----------~----~----~----~------~----~------~--~---
