hi... quick query here.. trying to get a redirect after a form submit working
in wicket...
@Override
public void onSubmit(){
// ... fancy form processing
setResponsePage(new
RedirectPage("http:www.google.ie"));
}
But when I submit the form it incorrectly redirects to a page of the form :
/?wicket:interface=:1:registerDeviceForm::IFormSubmitListener::
which is blank..
"registerDeviceForm" is just the name of my form obv...
Any ideas what i'm missing here?
I also tried other methods like getRequestCycle().setRequestTarget(new
RedirectRequestTarget("http://www.google.com/"));
But that didn't work either.... my guess is there is something else
interfering with the expected behaviour..
thanks..
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/issue-getting-RedirectPage-to-work-tp4592609p4592609.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]