Thursday, June 21st, 2007

GWT Ext Integration

Category: GWT, Sencha

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:

  1. Toolbar tbar = new Toolbar(Ext.generateId());  
  2. tbar.addButton(new ToolbarButton("AddFeed", new ButtonConfig() {  
  3.       {  
  4.          setAutoCreate(true);  
  5.          setIconCls("add-feed");  
  6.          setButtonListener(new ButtonListenerAdapter() {  
  7.             public void onClick(Button button, EventObject e) {  
  8.                showWindow(button);  
  9.             }  
  10.         });  
  11.    }  
  12. }));

For a closer look, download the code.

Posted by Dion Almaer at 12:14 pm
2 Comments

+++--
3.9 rating from 72 votes

2 Comments »

Comments feed TrackBack URI

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 :(.

Comment by Ivan — June 25, 2007

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!

Comment by Steven — August 3, 2007

Leave a comment

You must be logged in to post a comment.