This should work. It should generate Ajax response: <ajax-response><redirect>the/url/here</redirect></ajax-response> and wicket-ajax.js will make the redirect.
On Thu, Aug 2, 2012 at 3:17 AM, vinitty <[email protected]> wrote: > I am trying to do the redirection from AjaxSubmitLink onSubmit method > using this > RequestCycle.get().scheduleRequestHandlerAfterCurrent(reqTarget); > > But i am not seeing redirection on browser > > I am using wicket 1.5.7 > > Please help me > > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Redirecting-from-Ajax-onSubmit-tp4650938.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] > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
