Some would say that
it is the power to programmatically control the display of the data that is at the
heart of an application. Dreamweaver handles this conditional display of data
primarily through its Server Behaviors panel. You can, for example, opt to display
the data??”or any other page element??”only if certain conditions are met, such
as an empty recordset. Before you look at the options for showing and hiding
data conditionally, first examine what is perhaps the most commonly used
Dreamweaver server behavior: Repeat Region.
691
IN THIS CHAPTER
Repeating data on a page
Dreamweaver Technique:
Applying a Repeat Region
Selectively showing and
hiding areas
Moving from record group to
record group
Using Application objects for
instant recordset navigation
Dreamweaver Technique:
Establishing Recordset
Navigation
Navigating recordsets with
Flash buttons
Managing Data
Repeating data
After establishing a data source connection and defining a recordset, Dreamweaver displays all the available
fields in the Bindings panel. Regardless of how many records are contained in the declared recordset, you
see only one record when you drag one or more fields onto your page and preview the file. To see multiple
records from the same recordset on a single page, you can apply the Repeat Region server behavior.
Pages:
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219