@Autowired is a Spring thing. If you want to use auto wired beans within a Wicket instantiated page (as opposed to an object instantiated inside/by the Spring container) you need to use the @SpringBean annotation (which is a Wicket provided annotation)
N On Sat, May 11, 2013 at 11:27 AM, ORACLEADF <ora....@gmail.com> wrote: > The @Autowired annotation works when I call it from my tests, but doesn't > work when I call it > from my Wicket pages. > How can I fix this? > > > > > ----- > Regards > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Spring-Autowire-not-working-tp4658728.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >