Using Live Data View


Although the Live Data view feature has been around since the initial version of UltraDev, the new version of Live Data view is a bit more accessible than before. With the feature now available from the toolbar, Live Data view provides the capability to view dynamic data from Dreamweaver's IDE without having to open a browser to see the results. The Live Data view feature is available by clicking the icon to the right of the Design view button on the toolbar. Figure 25.66 shows the button activated and dynamic content in the Document window.

Figure 25.66. Click the Live Data view button from the toolbar to view live content right in the document window.


As you can see, using this features saves time because you don't have to keep pressing the F12 key.

Live Data Settings

Live Data settings enable you to modify parameters and scripts that will be executed at runtime during Live Data view. For instance, when you switch to Live Data view, notice that you can do more than just simply view dynamic content. By modifying the setting for Live Data, you can essentially pass a parameter across the query string to navigate to a different record (assuming that the application you built supported this functionality). To modify Live Data Settings, follow these steps:

1.

Open the employeestore_datagrid_details.aspx page.

2.

Click the Live Data view button in the toolbar.

3.

Click the Settings button in the Live Data View menu. The Live Data Settings dialog appears.

4.

You can modify the URL Request variable and value by clicking the Add (+) button and adding the ItemID parameter in the Name column and the value 1 in the Value column. The result is shown in Figure 25.67.

Figure 25.67. Live Data Settings enable you to modify variables and values that will be sent across the query string.


5.

Click OK to close the Live Data Settings dialog.

6.

Click the Refresh icon or enable the Auto Refresh check box to refresh the results.

The result shows the Dorknozzle Shirt item (we entered a value of 1 for the ItemID parameter). If you want to see a different result, simply enter a different number in the parameter text box.




Macromedia Dreamweaver 8 Unleashed
Macromedia Dreamweaver 8 Unleashed
ISBN: 0672327600
EAN: 2147483647
Year: 2005
Pages: 237
Authors: Zak Ruvalcaba

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net