> > 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 :-)

                Yes that worked.  Now I'm onto other upgrading issues :)

> 
> 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.

                Sure.  

> 
> Cheers,
> 
> Eelco
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to