Do you still have to use addComponentInstantiationListener(new SpringComponentInjector(this)) in your WebApplication#init() in order to use @SpringBean in sub classes of Component or is that done automatically now?

Warren


Igor Vaynberg wrote:

all subclasses of Component are injected automatically, you only need to do
this in classes outside the Component hierarchy.

-igor

On Fri, Mar 6, 2009 at 9:32 AM, CrocodileShoes <markjohndo...@googlemail.com
wrote:

By the way is this safe to use in any Wicket component, for example, a
Panel?

I can't think of any reason why not, but this is my first foray into web
development.
--
View this message in context:
http://www.nabble.com/How-can-I-inject-a-Springbean-into-a-custom-session.-tp22340379p22377028.html
Sent from the Wicket - User 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