Joachim Schrod wrote: > > 5. If you need Spring beans in a behavior, resource, or any other > non-component > class, you need to tell Wicket about it. For that, you call > > Injector.get().inject(this); > > in that class' constructor. Afterwards, @SpringBean injections > work in that class.
For the archives: That statement is not correct. Explicit injection is not needed in behaviors. Since 1.5.x-something, behaviors are auto-injected as well. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod, Roedermark, Germany Email: jsch...@acm.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org