Read section 17.2 "Integrating Wicket with Spring" starting on page 176 of
the Free Wicket Guide:
http://wicket.apache.org/learn/books/freeguide.html

As far as I can tell you the Spring native annotations work within the
implementation of a bean you already injected in your wicket component.
First crate a service for yourself and inject it where needed in Wicket via
@SpringBean. Then inside your service feel free to inject other Spring
dependencies via Spring's native annotations.

~ Thank you,
  Paul Bors

-----Original Message-----
From: miguel [mailto:mig...@thedeanda.com] 
Sent: Friday, September 27, 2013 12:41 PM
To: users@wicket.apache.org
Subject: Re: wicket + autowired annotation

I forgot to also mention...

I've noticed that @Autowired does NOT work whereas @Inject does. Also,
@Value annotations don't work either.



--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/wicket-autowired-annotation-tp466
1529p4661575.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



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to