On Thu, 2006-05-18 at 08:38 -0800, Ayodeji Aladejebi wrote: > please is someone here using the wicket bench? i keep getting this > error when attempting to run my application > > Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 > at wicketbench.runner.Main.main (Main.java:10)
You can't launch Wicket applications with it (yet). The current launcher is designed to launch components in isolation from full application. You should write a small junit bootstrapper which launches the component under test. The same junit bootstrpper can later be extended by adding selenium tests if you want to automate testing of your component. I'll write better tutorial in June (will be offline, hiking in himalayas for 5 weeks soon). Meanwhile, see this sample: http://svn.laughingpanda.com/svn/wicket-bench/trunk/wicket-bench-test/src/test/java/test/SearchPanelTest.java and short instructions: http://www.laughingpanda.org/~inhuman/wicket-bench/docs/features-0.3.html Joni ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user