Jack is back: Ext for Air and Vista
Written by on February 19th, 2008 in Ajax News.

Jack had posted a couple of entries back to back in the world of Ext.
First, he has been playing with Air again, and quickly wrapped the Ext 2.0 docs in Air, which would have been helpful when I was hacking the Ext toy on the plane:
Second, he has been playing with Vista gadgets and Ext and created a forum watcher that has the following gadget special code:
JAVASCRIPT:
function changeDock(){
if(System.Gadget.docked){
System.Gadget.background = ‘images/docked.png’;
var bd = Ext.getBody();
bd.setSize(130, 250);
bd.addClass(’docked’);
cm.setHidden(1, true);
cm.setRenderer(0, renderTopicMini);
grid.setPosition(4, 4);
grid.setSize(121, 241);
toggleDetails(null, false);
}else{
System.Gadget.background = ‘images/undocked2.png’;
var bd = Ext.getBody();
bd.setSize(528, 383);
bd.removeClass(’docked’);
cm.setHidden(1, false);
cm.setRenderer(0, renderTopic);
grid.setPosition(14, 14);
grid.setSize(494, 349);
cm.setColumnWidth(0, 350);
toggleDetails(null, true);
}
}
System.Gadget.onUndock = changeDock;
System.Gadget.onDock = changeDock;
if(System.Gadget.docked){
System.Gadget.background = ‘images/docked.png’;
var bd = Ext.getBody();
bd.setSize(130, 250);
bd.addClass(’docked’);
cm.setHidden(1, true);
cm.setRenderer(0, renderTopicMini);
grid.setPosition(4, 4);
grid.setSize(121, 241);
toggleDetails(null, false);
}else{
System.Gadget.background = ‘images/undocked2.png’;
var bd = Ext.getBody();
bd.setSize(528, 383);
bd.removeClass(’docked’);
cm.setHidden(1, false);
cm.setRenderer(0, renderTopic);
grid.setPosition(14, 14);
grid.setSize(494, 349);
cm.setColumnWidth(0, 350);
toggleDetails(null, true);
}
}
System.Gadget.onUndock = changeDock;
System.Gadget.onDock = changeDock;
Source: Ajaxian
Original Article: http://feeds.feedburner.com/~r/ajaxian/~3/237477795/jack-is-back-ext-for-air-and-vista
