Dreamweaver

Custom server behaviors workflow

If you are a developer proficient in ColdFusion, ASP.NET, JavaScript, VBScript, PHP, or Java, you can write your own server behaviors. The steps to create a server behavior include the following tasks:

  • Write one or more code blocks that perform the required action.

  • Specify where the code block should be inserted within the page’s HTML code.

  • If the server behavior requires that a value be specified for a parameter, create a dialog box that prompts the web developer applying the behavior to supply an appropriate value.

  • Test the server behavior before making it available to others.