Macromedia dreamweaver 8-using dreamweaver User Manual

Page of 1030
796
Chapter 38:  Adding Custom Server Behaviors
3.
(Optional) If you want, change a parameter’s control by selecting the parameter and 
choosing another control in the Display As column. 
4.
Click OK.
Dreamweaver generates a dialog box with a labeled control for each designer-supplied 
parameter you defined.
To view the dialog box:
Click the Plus (+) button in the Server Behaviors panel (Window > Server Behaviors), and 
select your server behavior from the pop-up menu. 
To edit the dialog box of a server behavior you created:
1.
In the Server Behaviors panel (Window > Server Behaviors), click the Plus (+) button and 
select Edit Server Behaviors from the pop-up menu.
2.
Select your server behavior from the list, and click Open.
The Server Behavior Builder appears with your server behavior.
3.
Click Next.
A dialog box appears listing all the designer-supplied parameters you defined in your code.
4.
(Optional) You can change the display order of the dialog box controls by selecting a 
parameter and clicking the up and down arrows.
5.
(Optional) If you want, change a parameter’s control by selecting the parameter and 
choosing another control in the Display As column. 
6.
Click OK.
Editing and modifying server behaviors
You can edit any server behavior created with the Server Behavior Builder, including 
server behaviors you download from the Macromedia Exchange website, and other 
third-party developers.
If you apply a server behavior to a page and then edit the behavior in Dreamweaver, instances 
of the old behavior will no longer appear in the Server Behaviors panel. The Server Behaviors 
panel searches the page for code that matches the code of known server behaviors. If the code 
of a server behavior known to the panel changes, the panel will no longer recognize earlier 
versions of the behavior on that page.