I think component instantiation listener will only scan wicket components. Just try
InjectorHolder.getInjector().inject(this); on constructor of the model to get your dependencies injected. Best, Ernesto On Tue, Jun 29, 2010 at 3:30 PM, David Meulemans <meulemans.da...@gmail.com> wrote: > Hi > > I've got an implementation of the IModel interface and I want to inject a > Spring bean in it. > > In the method public String getObject(); this object is null. > > Is it impossible to inject Spring beans with @SpringBean? > > thx in advance! > > David > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org