Re: T5 IoC: EagerLoad and ApplicationGlobals

2011-06-29 Thread Erik Fäßler
I have continued to work on this issue. It turned out I don't even need eagerLoad to run into problems ;-) I have tried to boil the problem down to be less complicated. I came over the good sounding class "ContextResourceSymbolProvider" which seems to be there exactly for my needs: To read symb

Re: T5 IoC: EagerLoad and ApplicationGlobals

2011-06-23 Thread Erik Fäßler
I created a small app with which the problem occurs, too. Here the snippet from AppModule: public class AppModule { public static void contributeSymbolSource( final OrderedConfiguration configuration, @InjectService("TestSymbolProvider") SymbolProvider semedicoSymbo

Re: T5 IoC: EagerLoad and ApplicationGlobals

2011-06-23 Thread Josh Canfield
Can you provide some more stack trace? Here is the code from TapestryFilter: registry = appInitializer.createRegistry(); context.setAttribute(REGISTRY_CONTEXT_NAME, registry); ServletApplicationInitializer ai = registry.getService("ServletApplicationInitializer",

T5 IoC: EagerLoad and ApplicationGlobals

2011-06-23 Thread Erik Fäßler
Hi everyone! I build a web app using T5.2.5 and employing the T5 IoC container. I have a contribution to a service which gets the ApplicationGlobals service injected. Everything works fine - until I want to eagerload the service with the afore mentioned contribution. When I eagerload the servi