Hi,

in one of my Wicket unit tests I'd like to assert that after a
successful submit, a RedirectRequestTarget was set. Its not even
necessary to check the exact URL of that redirect, just that it
happens.

I can't find any support for that via WicketTester, and
RequestCycle.get().getRequestTarget() (or accessed via
tester.getLastRenderedPage().getRequestCycle().getRequestTarget())
returns null.

Any ideas?

Regards
Jörn Zaefferer

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to