In this Technique, you apply a Repeat
Region server behavior to a previously created table row so that multiple data records can be displayed.
1. From the Techniques - Dynamic site (established in Chapter 18), expand the 20_Managing_Data
folder and open the managing_data_start file for your server model.
If you followed the Technique in the previous chapter, you??™ll recognize this page. There is, however,
one small difference: an additional recordset has been added to illustrate an important
concept.
2. Place your cursor in the row of dynamic data by selecting any of the inserted fields, such as
rsAgents.agentPhone.
3. From the Tag Selector, choose the
tag.
Choosing the
tag ensures that the entire row of data will be repeated.
4. From the Server Behaviors panel, click Add (+) and select Repeat Region from the list.
5. When the Repeat Region dialog box opens, choose rsAgents from the Recordset list.
continued
Applying a Repeat Region
696
Incorporating Dynamic Data Part IV
continued
You must be sure to select the recordset you want to repeat; if you were to leave the default
choice, rsProperties, no additional data would be displayed.
6. Leave the default Show 10 Records at a time option, and click OK.
In Dreamweaver??™s Design view, a thin border appears around the row along with a tab indicating
the Repeat Region.
Pages:
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224