MACROMEDIA DREAMWEAVER MX 2004-USING DREAMWEAVER Use Manual page 709

Hide thumbs Also See for DREAMWEAVER MX 2004-USING DREAMWEAVER:
Table of Contents

Advertisement

Completing the update page in one operation (ASP and JSP)
An update page has three building blocks:
A filtered recordset to retrieve the record from a database table (see
update (ASP and JSP)" on page
An HTML form to let users modify the record's data
An Update Record server behavior to update the database table
You can add the final two building blocks of an update page in a single operation using the
Record Update Form application object. The application object adds both an HTML form and
an Update Record server behavior to the page.
Before you can use the application object, your web application must be able to identify the
record to update, and your update page must be able to retrieve it. See
to update (ASP and JSP)" on page
(ASP and JSP)" on page
After the application object places the building blocks on the page, you can use the Dreamweaver
design tools to customize the form to your liking, or the Server Behaviors panel to edit the Update
Record server behavior.
Note: The update page can contain only one record-editing server behavior at a time. For example,
you cannot add an Insert Record or a Delete Record server behavior to the update page.
To build the update page with the Record Update Form application object:
Open the update page in Design view, then select Insert > Application Objects >
1
Update Record > Record Update Form Wizard.
The Record Update Form dialog box appears.
Complete the dialog box.
2
For instructions, click the Help button in the dialog box.
Click OK.
3
The application object adds both an HTML form and an Update Record server behavior to
your page. The form objects are laid out in a basic table, which you can customize using the
Dreamweaver page design tools. Make sure all the form objects remain within the
form's boundaries.
To edit the server behavior, open the Server Behaviors panel (Window > Server Behaviors) and
double-click the Update Record behavior.
Completing the update page block by block (ASP and JSP)
An update page has three building blocks:
A filtered recordset to retrieve the record from a database table (see
update (ASP and JSP)" on page
An HTML form to let users modify the record's data
An Update Record server behavior to update the database table
You can add the final two basic building blocks of an update page separately using the form tools
and the Server Behaviors panel.
708)
707,
"Opening the update page and passing the record ID
707, and
"Retrieving the record to update (ASP and JSP)" on page
708)
Building pages to update a record (ASP and JSP)
"Retrieving the record to
"Searching for the record
"Retrieving the record to
708.
709

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER MX 2004-USING DREAMWEAVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents