Hi,
I am using the below for my Dynamic Form.
form.setTarget("hidden_frame");
form.setAction("MyServlet");
form.submitForm();
When my servlet finishes its work (uploads the file), a new window is opened containing the response of the servlet.
When I was using plain GWT, there was a method onSubmitComplete(FormSubmitCompleteEvent event) that should be overriden to get the event which is the response of the servlet.
Is there any way not to open a new window, to keep the window of my application as it was and to get the response in this window as I used to do in plain GWT?
Any help is appreciated.
Thank you.
I am using the below for my Dynamic Form.
form.setTarget("hidden_frame");
form.setAction("MyServlet");
form.submitForm();
When my servlet finishes its work (uploads the file), a new window is opened containing the response of the servlet.
When I was using plain GWT, there was a method onSubmitComplete(FormSubmitCompleteEvent event) that should be overriden to get the event which is the response of the servlet.
Is there any way not to open a new window, to keep the window of my application as it was and to get the response in this window as I used to do in plain GWT?
Any help is appreciated.
Thank you.
Comment