Chapter 15. Changing applications based on GWT properties

This chapter covers

  • Managing browser-specific code

  • Internationalization (dynamic and static)

  • Altering application functionality based on locale

  • Implementing and using user defined properties

So far in your journey, you’ve used GWT properties without making too much out of them. GWT properties are defined in various module XML files and are used at compile time to change your application based on their values. The most obvious case of this in action is GWT’s ability to work with many browsers. GWT provides a user.agent property that defines, in the com.google.gwt.user.UserAgent module XML file, a number of values for different browsers. At compile-time, the compiler produces a JavaScript permutation ...

Get GWT in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.