Ext.form.FormPanel 提交数据
formPanel.form.submit({waitTitle : "请稍候",waitMsg : "正在提交表单数据,请稍候.......",url : updateurl,method : "POST",success : function(form, action) { Ext.MessageBox.alert('提交失败', action.result.msg);//Ext.MessageBox.alert('提示信息', '数据已经成功提交!');},failure : function(form, action) {Ext.MessageBox.alert('提交失败', action.result.errors);//Ext.MessageBox.alert('提示信息', '表单提交失败!');}});