Thursday, November 5, 2015

Re: Upload request cancelled

Nevermid!
After LOT of debugging, found the culprit. The moment FormPanel was submitted, we were hiding it. Since the source of the request was thus being removed, the browser showed the request as cancelled. So even though the request went to the server, it never came back to invoke SubmitCompleteEvent.

Thanks,
Tushar

On Thursday, November 5, 2015 at 3:13:56 PM UTC+5:30, Mohammed Sameen wrote:
Can you share the code snippet?

On Saturday, October 31, 2015 at 11:36:33 PM UTC+5:30, Tushar Bhasme wrote:
I am trying to upload files using FormPanel and FileUpload. The moment the I submit the form, I see this in the network console:

The request does go to server though and completes successfully but the browser receives no response and my FormPanel.SubmitCompleteHandler is not executed. Any idea why this could be happening? 

It does work sometimes though and once it works, it does not fail thereafter.


Thanks,

Tushar


--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment