On Fri, 20 Jul 2007, Craig Lenzen wrote: > And how are you overriding the "goToPageB" method in the test? Using > WicketTester you never actually create an instance of PageB, that is you as > the developer.
Like this, in 1.3 wicket.startPage(new ITestPageSource(){ public Page getTestPage() { return new PageA()... } though I'm not sure if it's in 1.2. There's also TestPanelSource that you can use similarly with startPanel. - Timo -- Timo Rantalaiho Reaktor Innovations Oy <URL: http://www.ri.fi/ > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user