Attributes, Attribute – Adobe Extending Dreamweaver CS4 User Manual

Page 287

Advertising
background image

281

EXTENDING DREAMWEAVER CS4

Server behaviors

Required
No.

Values
The tagName value is a valid tag name. It should be unique to prevent conflicts with known tag types. For example, if
you specify

<openTag>MM_DYNAMIC_CONTENT</openTag>

the dynamic data is translated to the

MM_DYNAMIC_CONTENT

tag.

<attributes>

Description
This tag contains a list of attributes to add to the translated tag that is specified by the

openTag

tag. Alternatively, if

the

openTag

tag is not defined and the

searchPattern

tag specifies

tag

, this tag contains a list of translated attributes

to add to the tag that is found.

Parent

translation

Type
Block tag.

Required
No.

<attribute>

Description
This tag specifies a single attribute (or translated attribute) to add to the translated tag.

Parent

attributes

Type
Block tag.

Required
Yes (at least one).

Values
The attributeName="attributeValue" specification sets an attribute to a value. Typically, the attribute name is fixed,
and the value contains some parameter references that are extracted by the parameter patterns, as shown in the
following example:

<attribute>SOURCE="@@rs@@"</attribute>

<attribute>BINDING="@@col@@"</attribute>

or

Advertising
This manual is related to the following products: