-
Book Overview & Buying
-
Table Of Contents
Backbase 4 RIA Development
Before we dive into the description of the complex dataGrid widget, we would like to illustrate the data binding concept in depth by creating our own widget, a data-bound bulleted list. We need to use some Tag Definition Language to achieve this, which is not covered yet. Fear not, we will explain what we are doing and if needed, you can peek into Chapter 7.
Our goal is to show a bulleted list of the names in the c3d_trip table.
To feed our data source with data, we need to extract it from the database. For the purpose of this example, we have done this in advance and have stored the result in an XML file, which allows us to use the trip information as local data. We showed the contents of this file earlier in this chapter.
We already talked about how to create a dataSource for this example. We show it again here:
<b:dataSource e:behavior="b:localData" dataType="application/xml" id="tripdata"> <b:dataContainer> <xi:include...
Change the font size
Change margin width
Change background colour