Yes, I just found it in the Javadoc of SpringComponentInjector, and was about to post it, but you have been faster! Anyway, thank you.
Best regards, Hugues Timo Rantalaiho wrote: > > On Sun, 18 Nov 2007, Hugues Pichereau wrote: >> I've successfully implemented Spring injection in *pages*, using >> annotations >> from the wicket-spring-annot jar. >> >> But when I try to inject a bean in the *session* class: > > Call InjectorHolder.getInjector().inject(this); in your > Session class constructor. > > Best wishes, > Timo > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > ----- Regards, Hugues -- View this message in context: http://www.nabble.com/Spring-bean-in-session-with-annotation-tf4829705.html#a13818158 Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
