Title
Date
Author
Comments
July 14th, 2010
radu

Automation testing of UI interfaces is essential in any big project, but it is difficult to achieve this for user interfaces built with ExtJS. Selenium records user actions, by clicks on elements, and memorizes the ids of the selected elements. Yet since ExtJS auto-generates ids which are not guaranteed to stay the same, you cannot [...]

May 31st, 2010
radu

Well, if you are programming in JavaScript for a while, you are familiar with the arguments ‘array’ which gives you access to function arguments by index, without the need of argument names. And if you are programming JavaScript for a bit longer while, you will know that arguments is not even a normal array. It [...]

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.