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:
public class WkSession extends AuthenticatedWebSession {
@SpringBean
private UserService userService;
// getter / setter
}
the bean remains null.
Apart from that, the session works great.
Is it required to use a different approach to inject beans in session?
-----
Regards,
Hugues
--
View this message in context:
http://www.nabble.com/Spring-bean-in-session-with-annotation-tf4829705.html#a13817750
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]