I forgot to say that I use wicket 1.4.15.
-----Original Message-----
From: Mihai Toma [mailto:[email protected]]
Sent: Thursday, August 25, 2011 5:17 PM
To: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]