Thursday, June 21st, 2007
GWT Ext Integration
The Ext integration keeps growing. GWT and Ext are a good match, as the widgets fit in nicely with the GWT model.
Sanjiv Jivan has created a GWT Ext wrapper and rewrote the Feed Viewer.
On the Java side it looks like this:
-
-
Toolbar tbar = new Toolbar(Ext.generateId());
-
tbar.addButton(new ToolbarButton("AddFeed", new ButtonConfig() {
-
{
-
setAutoCreate(true);
-
setIconCls("add-feed");
-
setButtonListener(new ButtonListenerAdapter() {
-
showWindow(button);
-
}
-
});
-
}
-
}));
-
For a closer look, download the code.












Sanjiv is quite a champ. A bunch of his articles randomly catch my eye these days and I always say to myself I should read more often, but I forget :(.
This is one the greatest works in extending GWT GUI libraries. We liked is so much, that we are considering incorporating the EXT library in our next release of QueWeb. This is what any AJAX based GUI should look like. Great job, Sanjiv!