6.3. Introducing the UiBinder expression language

As with any template technology, UiBinder wouldn’t be complete without an expression language (EL) to allow you to write simple expressions within the template. And because much of the content in the second half of the chapter relies on the UiBinder EL, you need to understand how it works.

In UiBinder the EL is referenced in the documentation as “field references,” but that name isn’t clear or descriptive, so we’ll instead refer to it as the UiBinder EL, or EL.

The UiBinder EL doesn’t provide language constructs like if/else or loops. It allows you to execute methods on template fields and use that result to set attributes of elements within the template. With that in mind, the UiBinder EL ...

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.