I switched over to using an anonymous overridden WebApplication:
--------------
WebApplication webApplication = new WebApplication() {
@Override
public Session newSession(Request request, Response response) {
return new CustomSession(request);
}
@Override
public Class getHomePage() {
return null;
}
};
WicketTester tester = new WicketTester(webApplication);
--------------
This way I got my CustomSession (bye bye CCE) and a valid non-spring
WebApplication. I'm curious about what problems I'm going to have with that.
:)
Thanks everyone for your efforts and savvy!
--
View this message in context:
http://www.nabble.com/org.apache.wicket.protocol.http.WebSession-cannot-be-cast-to-my.CustomSession-tp15480791p15540643.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]