submit :function(options){
if(this.standardSubmit){
var v=this.isValid();
if(v){
this.el.dom.submit();
return v;
this.doAction('submit',options);
return this;}
doAction:function(action,options){
if(typeof action=='string'){
action=new Ext.form.Action.ACTION_TYPES[action](this,options);}
if(this.fireEvent('beforeaction',this,action)!=false){
this.beforeAction(action',this,action)!=false){
this.beforeAction(action);
action.run.defer(100,action);
return this;}
beforeAction:function(action){
var o=action.options;
if(o.waitMsg){
if(this.waitingMsgTarget ===true)
this.el.mask(o.waitMsg,'x-mask-loading');
else if(this.waitingMsgTarget){
this.waitMsgTarget=Ext.get(this.waitingMsgTarget);
this.waitMsgTarget.mask(o.waitMsg,'x-mask-loading');}
else
Ext.MessageBox.wait(o.waitMsg,o.waitTitle||this.waitTitle||'Please Wait...');}}