> 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 Application object that uses the wicket filter instance should be put > in the init() method instead of your constructor
That sucks. How about - big hack - doing it in your newConverterLocater method, just before you create the locator? That should definitively work, though it's a bit nasty :-) Could you please open a JIRA issue for this? We should probably create the converterLocator and possibly the session store lazily instead of in Application#internalInit. Cheers, Eelco --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]