Re: Wicket tests are extremely slow

2018-02-12 Thread Martijn Dashorst
Probably you're initializing your application for each test, so you should look into speeding that up or eliminating it all together (just once for the whole suite) Martijn On Mon, Feb 12, 2018 at 5:05 AM, James Selvakumar wrote: > Hi, > > We have a Wicket 7.x application

Re: Problem with TabbedPanel / setResponePage refreshing

2018-02-12 Thread Jarosław Ciarkowski
Hello, I guess my last mail was to complex so I'll try to simplify it: Why children's "onRemove" method is not called when "setResponsePage" is called? As I've written previously - manually invoking "page.removeAll()" works but shouldn't it be called automatically? Jarek On 09.02.2018

How to mount 404 page with Wicket and Servlet 3.0?

2018-02-12 Thread Kamil Paśko
Hi, *Background:* I'm trying to mount 404 page to my Wicket project. I found confluence page wchich explains how to do it using web.xml (https://cwiki.apache.org/confluence/display/WICKET/Error+Pages+and+Feedback+Messages#ErrorPagesandFeedbackMessages-HTTPErrorPages) but my application uses

Re: Wicket tests are extremely slow

2018-02-12 Thread James Selvakumar
Hi all, Thank you very much for all the suggestions. I agree that the slowness is because of Spring context initialized multiple times. Ours is a multi module maven application and what I have seen is the context being initialized at least once per module because of new beans in every module. The