17.5. Determining a property value

It’s the act of defining properties, extending them, and providing one or more replace-with tags in module files that drives the generation of permutations of your application. But all of that’s pointless if you can’t determine the value(s) the property should have. If you can’t do that, then the bootstrap code has no idea which permutation to request.

There are two ways to set the value(s) of a property. You can either set it directly in a GWT module file, or you can try to dynamically determine it at runtime through a property provider. In this section we’ll look at both of these approaches.

We’ll split the discussion on property providers into three parts: understanding what a property provider is, how ...

Get GWT in Action, Second Edition 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.