1 Aug 2010 12:55 AM #1
FormPanel Submit Complete Event
Is there some solution to handle submit complete event for FormPanel? I am looking for something like "addSubmitHandler", "addSubmitCompleteHandler" in GWT. For example I want to display "Uploading..." MessageBox while uploading a file, and close it after successful upload.
2 Aug 2010 1:03 AM #2
Welcome to the forum.
You can use the Submit event for this.
It is called after the submit has been completed.
2 Aug 2010 3:42 AM #3
Thank you, Michel! That's what I was looking for.
2 Aug 2010 7:35 AM #4
It seems that there is a bug in FormPanel.submit : the success handler is never called. The problem is because the options parameter received by callback function on Ext.Ajax.request isn't the same as the options parameters passed to FormPanel.submit. So in the callback function of Ajax.request, the value options.success is always undefined.
2 Aug 2010 7:36 AM #5
Sorry, I posted in bad forum. My message concerned Sencha.
By Realnub in forum Ext 3.x: Help & DiscussionReplies: 10Last Post: 13 Jan 2010, 3:36 AM
By dgz2159 in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 28 Jun 2009, 11:03 PM
By NeonMonk in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 21 Feb 2008, 8:34 PM
By yenduttjain in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 11 Jan 2008, 10:23 PM