You can include parameters in a server behavior's code (see Parameters in server behaviors for more information), and let the page designer supply the necessary parameter values before inserting the server behavior's code into the page. To let the page designer supply parameter values, enter parameter markers within the code as shown:
@@parameterName@@
The ASP server behavior example below contains the parameter formParam, which requires the person inserting the behavior to supply the name of a form object:
<% Session("lang_pref") = Request.Form("formParam"); %>
formParam string in parameter markers:
<% Session("lang_pref") = Request.Form("@@formParam@@"); %>
For more information, see Creating a dialog box for a custom server behavior.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/dreamweaver/8/using/40_usi14.htm