MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Manual page 250

Extending dreamweaver
Hide thumbs Also See for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER:
Table of Contents

Advertisement

To create a new dynamic page document:
In Dreamweaver, select the File > New menu option.
1
In the New Document dialog box, select Category: Dynamic Page and Dynamic Page:
2
ASP JavaScript
Click Create.
3
To use the Server Behavior Builder to define your new server behavior:
Note: If the Server Behaviors panel is not open and visible, select the Window > Server Behaviors
menu option.
In the Server Behaviors panel, select the Plus (+) button, and then select the New Server
1
Behavior menu option.
In the New Server Behavior dialog box, select Document Type: ASP JavaScript and Name:
2
Hello World
(Leave the "Copy existing server behavior" checkbox unchecked.)
Click OK.
3
To define the code to insert:
Select the Plus (+) button for Code Blocks to Insert.
1
In the Create a New Code Block dialog box, enter
2
automatically enter this information for you).
Click OK.
3
In the Code Block text field, enter
4
In the Insert Code pop-up menu, select Relative to the Selection so the user can control where
5
this code goes in the document.
In the Relative Position pop-up menu, select After the Selection.
6
Click OK.
7
In the Server Behaviors panel, you can see that the Plus (+) menu contains the new server
behavior in the pop-up list. Also, in the installation folder for your Dreamweaver files, the
Configuration/ServerBehaviors/ASP_Js folder now contains the following three files:
The group file: Hello World.edml
The participant file: Hello World_block1.edml
A script file: Hello World.htm
Note: If you are working in a multiuser configuration, these files appear in your Application
Data folder.
250
Chapter 15: Server Behaviors
Hello_World_block1
<% Response.Write("Hello World") %>.
(Dreamweaver might

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents