Ok, I get it! I'll give a try and let you know how I get on. Thanks!


Eelco Hillenius wrote:
> 
> Alternatively, you could use e.g. InjectorHolder.setInjector(new
> MockSpringInjector()); like is documented in
> org.apache.wicket.injection.web.InjectorHolder (at least it is in
> Wicket 1.3 which I am using). That's a bit more flexible and you don't
> have to worry about cases where someone (colleague?) uses @SpringBean
> directly and thus compromises your test strategy).
> 
> Eelco
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Any-issues-using-%40SpringBean-in-WebApplication-tp26101512p26118834.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to