GWT Ext Integration
Written by on June 21st, 2007 in Ajax News.
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:
JAVA:
-
-
Toolbar tbar = new Toolbar(Ext.generateId());
-
tbar.addButton(new ToolbarButton(”AddFeed”, new ButtonConfig() {
-
{
-
setAutoCreate(true);
-
setIconCls(”add-feed”);
-
setButtonListener(new ButtonListenerAdapter() {
-
public void onClick(Button button, EventObject e) {
-
showWindow(button);
-
}
-
});
-
}
-
}));
-
For a closer look, download the code.
Source: Ajaxian
Original Article: http://feeds.feedburner.com/~r/ajaxian/~3/126766244/gwt-ext-integration