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
a lot of trouble...
--
View this message in context:
http://www.nabble.com/org.apache.wicket.protocol.http.WebSession-cannot-be-cast-to-my.CustomSession-tp15480791p15539346.html
Sent from the Wicket - User mailing list archive at Nabble.com
tests. :)
--
View this message in context:
http://www.nabble.com/org.apache.wicket.protocol.http.WebSession-cannot-be-cast-to-my.CustomSession-tp15480791p15539854.html
Sent from the Wicket - User mailing list archive at Nabble.com
/org.apache.wicket.protocol.http.WebSession-cannot-be-cast-to-my.CustomSession-tp15480791p15539346.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
On Sun, 17 Feb 2008, Sven Schliesing wrote:
I'm using the SpringWebApplication cause of createSpringBeanProxy() and the
automatic init of the configured ApplicationContext
(http://cwiki.apache.org/WICKET/spring.html).
Manually initializing would be a huge tradeoff for working tests. :)
Hmm,
WicketTester(myApp);
}
}
---
--
View this message in context:
http://www.nabble.com/org.apache.wicket.protocol.http.WebSession-cannot-be-cast-to-my.CustomSession-tp15480791p15496951.html
Sent from the Wicket - User mailing list archive at Nabble.com
/org.apache.wicket.protocol.http.WebSession-cannot-be-cast-to-my.CustomSession-tp15480791p15496951.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
On Fri, 15 Feb 2008, Igor Vaynberg wrote:
you need to override newsession on the app and return your subclass
But he did it here, no?
public class MyApplication extends SpringWebApplication {
private SpringComponentInjector springComponentInjector;
right, missed it. i guess the next step would be to set a breakpoint
there and see if its ever called. if not, set a breakpoint in
websession constructor and see why that is invoked instead of the
overridden factory.
-igor
On Fri, Feb 15, 2008 at 10:25 AM, Timo Rantalaiho [EMAIL PROTECTED]
Yeah, put some break points in there, and if you still have trouble
provide a quickstart...
regards Nino
Sven Schliesing wrote:
I think I don't get it :(
I narrowed down the problem to this test case. It would be great if you
could take a look:
---
public class
Hi,
I'm trying to set up testing for my Wicket Application but ran across this
error message:
org.apache.wicket.protocol.http.WebSession cannot be cast to
my.CustomSession
The page (LoginPage) I'm testing does:
(CustomSession) Session.get();
This is the point where the error
On Thu, 14 Feb 2008, Sven Schliesing wrote:
java.lang.IllegalStateException: No WebApplicationContext found: no
ContextLoaderListener registered?
Yep, you should provide it an ApplicationContext more
suitable for testing. There is the handy MockContext in
wicket-spring that you can use.
We
wrote:
Hi,
I'm trying to set up testing for my Wicket Application but ran across this
error message:
org.apache.wicket.protocol.http.WebSession cannot be cast to
my.CustomSession
The page (LoginPage) I'm testing does:
(CustomSession) Session.get();
This is the point where the error
13 matches
Mail list logo