Hello World Dialog

This example shows how to create a very simple modal BasicDialog with "autoTabs".



Note that the js is not minified so it is readable. See hello.js for the full source code.

Here's snapshot of the code that creates the dialog:
dialog = new Ext.BasicDialog("hello-dlg", {
        modal:true,
        autoTabs:true,
        width:500,
        height:300,
        shadow:true,
        minWidth:300,
        minHeight:300
});
dialog.addKeyListener(27, dialog.hide, dialog);
dialog.addButton('Close', dialog.hide, dialog);
dialog.addButton('Submit', dialog.hide, dialog).disable();