O'Reilly logo

ExtGWT Rich Internet Application Cookbook by Odili Charles Opute

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Templates and Views

In this chapter we will cover the following points:

  • Formatting data with a basic template
  • Doing logic in templates
  • Doing math in templates
  • Custom ComboBox displays
  • Giving details with RowExpander

Introduction

A template processor (or template parser) is a component that is designed to combine one or more templates with a data model to produce one or more result documents or document fragments.

Template and XTemplate are very useful classes in GXT for overriding and defining how certain components handle the presentation of their data. Template supports simple formatting of the data using text or HTML markup and inserts the data into the formatted template using place holders wrapped in curly braces. XTemplate supports, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required