PDA

View Full Version : GXT / GWT widgets mix n match?



jarcher
1 Sep 2008, 11:13 AM
Hi All...

I have looked around for an answer, but I am wondering, is it possible to mix and match widgets and panels from GXT and GWT, of if I use GXT does everything have to be pure GXT?

Thanks...

gslender
1 Sep 2008, 7:51 PM
you can mix and match

jarcher
1 Sep 2008, 9:25 PM
Thanks!

Martin.Trummer
1 Sep 2008, 11:37 PM
Hi All...

I have looked around for an answer, but I am wondering, is it possible to mix and match widgets and panels from GXT and GWT, of if I use GXT does everything have to be pure GXT?

Thanks...

but take care: if you add a gwt-widget to any gxt label, it will be wrapped into a gxt-WidgetComponent.
so if you call add and then get on a panel, you will NOT get back the original widget, but a gxt-wrapper
that kept me going for a while..
look at Container.wrapWidget(Widget)