Hi,
Wicket is a bit inconsistent with its CDI integration.
It doesn't use wicket-ioc Injector at all.
You have to use NonContextual.of(...).inject(this) instead.
On Sun, Nov 25, 2012 at 4:27 PM, Kurt Sys kurt@gmail.com wrote:
Hey all,
I'm trying to get cdi/injection to work with wicket.
I don't use Wicket-CDI in my applications so I don't have much experience
with it but I just took a look at the APIs and here is how I would do it:
CdiContainer.get().getNonContextualManager().inject(this);
On Sun, Nov 25, 2012 at 4:59 PM, Kurt Sys kurt@gmail.com wrote:
Hey Martin,
That looks nicer than what I had :). Great, thanks a lot!
Kurt
2012/11/25 Martin Grigorov mgrigo...@apache.org:
I don't use Wicket-CDI in my applications so I don't have much experience
with it but I just took a look at the APIs and here is how I would do it: