I forgot to say that I use wicket 1.4.15. -----Original Message----- From: Mihai Toma [mailto:mihai.t...@asf.ro] Sent: Thursday, August 25, 2011 5:17 PM To: users@wicket.apache.org Subject: IAjaxIndicatorAware and history.back()
Hi, I have a AjaxSubmitLink in a form with an AjaxFormSubmitIndicator behavior (AjaxFormSubmitIndicator class extends AjaxFormSubmitBehavior and implements IAjaxIndicatorAware, used to show a loading image while saving). In the method onSubmit of my AjaxFormSubmitIndicator I save my data from form and then I make a redirect to previews page using target.appendJavascript("history.back()"); The problem Is that this did not work. If I don't add AjaxFormSubmitIndicator on my submit button, the redirect works fine. Any idea on how can i make this working? Thanks in advance! Mihai --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org