Re: WicketTester gives No WebApplicationContext found: no ContextLoaderListener registered

2008-02-11 Thread Nino Saturnino Martinez Vazquez Wael
btw, I went that way too (moving to an method).. Ned Collyer wrote: 4 minutes? You're getting slower! That kind of worked. I'm not fond of having to reinitialise all the things I set inside init, so i've moved this method out to a protected void initSpring(). Thanks for your help. Rgds Ned

WicketTester gives No WebApplicationContext found: no ContextLoaderListener registered

2008-02-10 Thread Ned Collyer
Hi, In one of my pages, i need to invoke a method from my web application. My application class is as follows public class MyApp extends WebApplication { private Thing thing; public void init() { // Attach the component injector - ie, enable spring for this application.

Re: WicketTester gives No WebApplicationContext found: no ContextLoaderListener registered

2008-02-10 Thread Igor Vaynberg
try the Spring page on the wiki, it shows how to mock spring for wickettester -igor On Feb 10, 2008 10:17 PM, Ned Collyer [EMAIL PROTECTED] wrote: Hi, In one of my pages, i need to invoke a method from my web application. My application class is as follows public class MyApp extends

Re: WicketTester gives No WebApplicationContext found: no ContextLoaderListener registered

2008-02-10 Thread Ned Collyer
4 minutes? You're getting slower! That kind of worked. I'm not fond of having to reinitialise all the things I set inside init, so i've moved this method out to a protected void initSpring(). Thanks for your help. Rgds Ned igor.vaynberg wrote: try the Spring page on the wiki, it shows