Re: InjectorHolder has not been assigned an injector error

2008-01-13 Thread Eelco Hillenius
I'm guessing that the call to newConverterLocater happens before Spring injection. Yeah. Too bad, maybe in hind sight it would have been better to create it lazily. Any ideas on how to fix this? I think just creating the SpringComponentInjector in your webapp's constructor instead of in the

RE: InjectorHolder has not been assigned an injector error

2008-01-13 Thread Karen Schaper
-Original Message- From: Eelco Hillenius [mailto:[EMAIL PROTECTED] Sent: Sunday, January 13, 2008 12:11 PM To: users@wicket.apache.org Subject: Re: InjectorHolder has not been assigned an injector error I'm guessing that the call to newConverterLocater happens before Spring

Re: InjectorHolder has not been assigned an injector error

2008-01-13 Thread Eelco Hillenius
Tried putting addComponentInstantiationListener( new SpringComponentInjector(this ); into the constructor of Application which extends AuthentationWebApplication... but I now get the following error. java.lang.IllegalStateException: servletContext is not set yet. Any code in your

RE: InjectorHolder has not been assigned an injector error

2008-01-13 Thread Karen Schaper
Tried putting addComponentInstantiationListener( new SpringComponentInjector(this ); into the constructor of Application which extends AuthentationWebApplication... but I now get the following error. java.lang.IllegalStateException: servletContext is not set yet. Any code in