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:

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

For a closer look, download the code.

Source: Ajaxian
Original Article: http://feeds.feedburner.com/~r/ajaxian/~3/126766244/gwt-ext-integration

Leave a Reply

You must be logged in to post a comment.



Site Navigation