Re: Wicket RAD and wicket-guice on Wicket 1.4
There is now an experimental implementation available in SVN for IChoiceSource based injection.
It works as described in my previous post: if the IChoiceSource class given in an annotation is an impl, it works "as before", if it is an interface it will go to Guice to get an implementation (which can have stuff injected into it as per Guice).
You have to add a ComponentInstantiationListener in your Applications init()-method just as you would with GuiceComponentInjector.
In fact, I have created a class called RadGuiceComponentInjector which is a direct extension of org.apache.wicket.guice.GuiceComponentInjector that you should use (only main difference is that it has one less constructor, loosing the single argument constructor).
I'm not sure whether Injector in Guice is thread-safe, do you have any idea about this? This is the "gotcha" I am yet to work out..