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 database refers to data organized and stored on a computer that can
be searched and retrieved by a computer program. Most industrial-strength
and many smaller database applications can be addressed using SQL (Structured
Query Language).
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
Display dynamic images
The Show Imageserver
behavior
allows the web developers to display dynamic images in their site pages.
Make sure you have a recordset in your page. Before applying the server
behavior, you could select an image tag in your
Dreamweaver page, or simply make no selection.
This server behavior is accessible from the Application
panel, Server Behaviors -> + -> MX Kollection
-> File Upload -> Show Image.
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 File folder text
box enter the name of the folder from where the images will be retrieved.
You can use the Browse button to select
a static folder and then you can append to it a dynamic value by using
the InterAKT Dynamic Data
selector.
In the Recordset drop-down
menu select one of the recordsets defined in your page.
In the Field drop-down
menu select the table column that stores the names for the images to be
shown. You can also select None (which means
that the image file name will not be retrieved from the database)
or None: Rename rule. Only in the latter
case, the text box below will be enabled.
In the Renaming rule
text box, when enabled, enter a custom name rule used to save the image.
The name can only contain constant expressions and the current recordset
fields. The InterAKT Dynamic
Data selector allows you to input dynamic data
in the corresponding field.
The three buttons in the top right corner 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.
After applying this server behavior, a translator will be shown in your
Dreamweaver page: