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.
A recordset is the result of executing an SQL query.
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
in web applications.
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.
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
Configure Autocomplete Text Field
The Autocomplete Text Fieldserver behavior
allows the web developers to include an autocomplete text field in their
site pages. Before applying it, there must be a recordset
created in the Dreamweaver page, and also
a text field added.
This server behavior is accessible from the Application
panel, Server Behaviors -> + -> MX Kollection
-> Form Controls -> Autocomplete Text Field.
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:
In the Apply
to field drop-down menu select the text field on which to
apply the server behavior.
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 autocomplete text field.
In the Get
labels from drop-down menu select the table field that stores
the information you need to use.
In the Records to display
text box enter the number of records that you want to be displayed in
the drop-down menu at a time. This drop-down menu pops up when pressing
the control on the right of the widget, or when pressing the down arrow
(the cursor being placed in the text field).
If you check the Default option
checkbox, then in the drop-down menu in browser, the "Please Select"
text will be displayed at first. If you leave it unchecked, the default
option will be blank.
In the Default
value text box enter a starting value for the autocomplete
text field. You can also select it from one of the available recordsets
in your page by using the lightning icon on the right.
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.