O'Reilly logo

Backbase 4 RIA Development by Sergey Ilinsky, Ghica van Emde Boas

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

Widgets as objects

In the introductory sections of this chapter, we have already discussed TDL as an object-oriented language. We will now look at the TDL elements involved in more detail.

Defining classes with TDL

You already know how to create a TDL class definition: this is done by defining an element with the name element, where the name attribute is the name of the class.

All the elements that define the state and behavior of a TDL class are defined using child tags of the element tag.

In TDL, you use property elements to the define the state of an object. We have seen the attribute element that may seem similar to a property. However, attributes and properties are not the same:

Attributes

Properties

An attribute is always of type string and ...

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