Re: Help with the @Inject Annotation

2007-09-18 Thread Chris Pratt
I think I just stumbled on the answer while slogging through the code, You have to call: Dispatcher.getInstance().getContainer().inject(this); somewhere early on. I'm putting it in doStartTag (Where the ComponentTagSupport class has it) and I'm testing now. (*Chris*) On 9/18/07, Ian Roughley

Re: Help with the @Inject Annotation

2007-09-18 Thread Ian Roughley
I'm not sure that tag libraries are created by the object factory, if this is the case, then the behaviour you are observing is correct (as the annotations aren't checked and thus values not injected). You should be able to track back the object creation in the code to confirm this. /Ian Ch