You don't need to do this, you need to listen for the before submit event in your js, something like :-
listeners: {
'beforeSubmit': {
fn:this.beforeSubmit,
scope:this
}
then declare your own beforeSubmit in your scope :-
beforeSubmit: function(o) {
/* Change the default waiting message */
o.config.saveMsg = _('actioning');
Ext.apply(o.form.baseParams,{
});
}
Where this goes depends on what form/object you are extending of course.
Use MODx, or the cat gets it!