Ah, the trouble is in your NPE:
java.lang.NullPointerException
at index.AbcPage.validateParams(
AbcPage.java:258)
As long as that exception remains unhandled, the pages won't hand off. The
Form has to resubmit back to the page the form lives on since that is where
the form listener is waiting.
If you feel confident and wish to totally bypass wicket's form processing,
instead of a Form you could use a WebMarkupContainer and in the
onComponentTag set the Action attribute to the page you want to redirect to.
I did something similar long ago when I was first learning Wicket. I don't
recommend it, but it is a possible solution.
-Clint
On Mon, Mar 28, 2011 at 10:01 PM, lovewicket <[email protected]> wrote:
> I tried to put the following in my application class, but unfortunately got
> the same results (application tries to load the current page and then
> redirect the request):
>
>
> getRequestCycleSettings().setRenderStrategy(IRequestCycleSettings.ONE_PASS_RENDER);
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/StatelessForm-redirect-tp3406282p3413610.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>