Title
Date
Author
Comments
February 24th, 2010
radu

You should make use of the scope config option in components
.

in Ajax calls
var MyPanel = Ext.extend(Ext.Panel, {
doSave: function(){
Ext.Ajax.request({
url: ‘your_url’,
params: ….
success: function(response){
response = Ext.decode(response.responseText);
this.onSuccess(response)
},
scope: this //the scope in which the success callback [...]

February 18th, 2010
radu

Tips on JavaScript and ExtJS: using the ExtJS ref config option on panels and other components.