Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Possible to use GXT widgets in vaadin?

David Lee
1 decade ago Jan 20, 2010 8:16pm
kostas papas
9 years ago May 31, 2012 7:20am
Joonas Lehtinen
9 years ago May 31, 2012 8:30am
kostas papas
9 years ago May 31, 2012 11:48am
kostas papas
9 years ago May 31, 2012 12:58pm

For anyone trying to accomplish this task this is the thing that worked for me.

For example if you want to integrate the MenuBarExample from GXT demos then do this in Vaadin.

....
public class GXTMenuBarExample extends Composite implements IsWidget {

public GXTMenuBarExample(){

initWidget(asWidget());
}


public Widget asWidget() {

...<place the code from the GXT demo widget here>

}
}

Then create the VMenuBarExample class that will extend GXTMenuBarExample and implement Paintable.

You will need also the server side class MenuBarExample that will extend AbstractComponent and so on.

This solution worked for me.

Curt Tudor
9 years ago Aug 25, 2012 2:33am
Barry Lagerweij
9 years ago Nov 14, 2012 3:03pm
Joao Pereira
8 years ago Nov 21, 2013 1:38pm