O'Reilly logo

Dreamweaver 8: The Missing Manual by David Sawyer McFarland

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

Advanced Server Behaviors

In addition to the server behaviors described already, you'll find two other sets of behaviors that come in handy on dynamic Web pages.

Tip

You can download many more third-party server behaviors from the Macromedia Exchange. Click the + button in the Server Behaviors panel and choose Get More Server Behaviors. Dreamweaver launches your Web browser and connects to the Dreamweaver Exchange site.

Not all extensions listed here work with Dreamweaver 8. On the other hand, many of the server behaviors for MX 2004 also work with Dreamweaver 8.

Recordset Paging

This set of five different behaviors lets you add links for jumping to different records in a recordset (straight to the last record, for example). In fact, Dreamweaver makes use of these same behaviors as part of its Recordset Navigation Bar object (Section 21.4). You'll use these for moving through a long list of records, like a complete listing of products in a database.

To begin, add a recordset to a page. It should contain multiple records, since jumping to the next record when there's only one doesn't make much sense. The page could also contain a repeating region, so that several records appear.

You can add the recordset-paging server behaviors from the Server Behaviors panel, or from the recordset-paging menu on the Application tab of the Insert bar (see Figure 23-7):

  • Move to First Record adds a link that jumps to the first record in the recordset.

    Note

    In ColdFusion, ASP.NET, and PHP, you'll see the word ...

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