Configure Comma-separated Selector

The Comma-separated Selector server behavior A server behavior is a reusable component for server-side development. They add blocks of code to your pages for accomplishing specific tasks. Dreamweaver comes with several default server behaviors and the InterAKT extensions add many more to this list. allows the web developers to include a comma-separated selector in their site pages. Before applying it, there must be a recordset A recordset is the result of executing an SQL query A query is a SQL command that will extract information from the tables of a database. Essentially, a query is a request for information from your database.. It is composed of multiple rows, each row having multiple columns. The columns presented in the query result depend on the column list declared in the query (they can belong to different tables). The number of rows and their order depend on the query conditions (WHERE, GROUP BY, HAVING, ORDER). The recordset acts as a source of dynamic data The InterAKT Dynamic Data tool is a replacement for the standard dynamic data dialog. It is used in the MX Kollection 3, to provide a unified way of building mark-ups, or place holders. These are recordset fields, server or session variables, and other types of dynamic data that are replaced at runtime by their corresponding values in web applications. created in the Dreamweaver page, and also an input item added.

This server behavior is accessible from the Application panel, Server Behaviors -> + -> MX Kollection -> Form Controls -> Comma-separated Selector.

The user interface has only one tab. Directions about its correct configuration are given below.

 

To set the dialog box options, follow the next steps:

  1. In the Apply to field drop-down menu select the text field on which to apply the server behavior.

  2. In the Recordset drop-down menu select one of the recordsets defined in your page. The selected recordset should contain the data that you want displayed when using the comma-separated selector.
  3. In the Get labels from drop-down menu select the table field that stores the names you want to be shown in the widget.
  4. In the Get values from drop-down menu select the table field that stores the value for the widget elements.
  5. The Sort selected elements checkbox enables the option of manually sorting the selected elements (two controls are displayed to the right of the widget when the page is loaded in the browser).
  6. In the Size text box insert the number of options that will be displayed in the selector at one time.
  7. The three buttons on the right of the interface offer you the next functionalities:
    ·  Click OK when you are done configuring the server behavior.
    ·  Click Cancel to exit without applying the new settings.
    ·  The Help button opens this help page.

Related Topics