да работает все:
Ext.onReady(function(){
var simple = new Ext.FormPanel({
url:'save-form.php',
frame:true,
width: 350,
items: [{
xtype:'textfield',
fieldLabel: 'test',
name: 'test',
listeners: {
specialkey:
function(field, e){
if (e.getKey() == e.ENTER) {
field.ownerCt.getForm().submit({
failure:
function(form, action) {/*do something if all wrong:(*/},
success:
function(form, action) {window.location.href = ''; /*I so happy :)*/}
})
}
}
}
}]});
simple.render(document.body);
})