views:

640

answers:

1

I'm curious to find out what the obscure and hidden features of Google Web Toolkit 2 (GWT) are. If you know of any tricks/features - that are uncommon, undocumented or hidden in the Javadocs then what are they and why are they useful?

My personal favorite was the StyleSheetLoader which is buried in the ShowCase application bundled with GWT. I use it to dynamically swap out a stylesheet "on the fly" to provide web application theming capabilities.

Feature Summary:

+1  A: 

It may be a bit old, but until now, one of my favorites is the ImageBundleDesign. It assembles several similar images to one image, positioning it in different places via CSS tricks. As a result, you still seem to have different images in your application, but in fact there's only one being transmitted from the server. Saves loading time. Hope you didn't know it yet, or you forgot about it :)

Johann Philipp Strathausen
ImageBundle is an old deprecated interface for 2.0 onwards... I think the standard is now to use ClientBundle instead.
Jon