beautypg.com

Displaying data with spry, About spry data sets – Adobe Dreamweaver CS3 User Manual

Page 485

background image

DREAMWEAVER CS3

User Guide

478

Although you can easily edit rules for the Validation Checkbox widget directly in the accompanying CSS file, you can
also use the CSS Styles panel to edit the widget’s CSS. The CSS Styles panel is helpful for locating the CSS classes

assigned to different parts of the widget, especially if you use the panel’s Current mode.

See also

“The CSS Styles panel in Current mode” on page 125

Displaying data with Spry

About Spry data sets

With the Spry framework, you can insert data objects to allow users to interact with a page quickly and dynamically
from a browser window. For example, you can insert a sortable table that users can rearrange or include a Spry
dynamic table object that triggers a data update elsewhere on the page without requiring a full-page refresh.

To do this, you first identify, in Dreamweaver, one or more XML source files (the “Spry data set”) that contain your
data, and then insert one or more Spry data objects to display this data. When the user opens the page in a browser,
the data set loads as a flattened array of XML data that looks like a standard table containing rows and columns.

For example, suppose you have the following XML data structure in your XML file:

Adobe Photoshop CS2

Digital Imaging

images/photoshop.gif

The professional standard in desktop digital imaging

Adobe Photoshop CS2 software, the professional image-editing ...

Adobe Illustrator CS2

Print Publishing

images/illustrator.gif

Vector graphics reinvented

Adobe Illustrator CS2 software gives you new creative freedom ...

If you select as a repeating element, the flattened array of XML data results in a column of data for each
product element, such as , in the data set:

September 4, 2007