Re: SpringWicketTester code (tested with Wicket 1.4 and spring-wicket)

2009-12-13 Thread Peter Gardfjell
Great post! I had difficulties getting the wicket tester up and running with my Spring-enabled app but your class worked like a charm. Wouldn't it be a good idea to contribute that code to the wicket-spring subproject? best regards, Peter -- View this message in context:

Re: SpringWicketTester code (tested with Wicket 1.4 and spring-wicket)

2009-12-13 Thread benjamintilford
Does this handle transactions (e.g. rolls transactions back at the end of a test method) like the test runners provided by Spring? Loritsch, Berin C. wrote: import javax.servlet.ServletContext; import org.apache.wicket.protocol.http.MockServletContext; import

SpringWicketTester code (tested with Wicket 1.4 and spring-wicket)

2009-11-12 Thread Loritsch, Berin C.
import javax.servlet.ServletContext; import org.apache.wicket.protocol.http.MockServletContext; import org.apache.wicket.protocol.http.WebApplication; import org.apache.wicket.util.tester.WicketTester; import org.springframework.web.context.WebApplicationContext; import