Inserttext> Attributes - MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Manual

Extending dreamweaver
Hide thumbs Also See for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER:
Table of Contents

Advertisement

Value
The value is the text to insert in the document. If any parts of the text need customizing, they can
be passed in later as parameters. Parameters should be embedded within two at (
Because this text can interfere with the EDML structure, it should use the
shown in the following example:
<insertText location="aboveHTML">
<![CDATA[<%= @@recordset@@).cursorType %>]]>
</insertText>
When the text is inserted, the
user supplies. For more information on conditional and repeating code blocks, see the "Adding
Custom Server Behaviors" chapter in Getting Started with Dreamweaver.
<insertText> attributes
The following items are valid attributes of the insertText tag.
location
Description
This attribute specifies where the participant text should be inserted. The insert location is related
to the
whereToSearch
whereToSearch
Parent
insertText
Type
Attribute.
Required
Yes.
Values
aboveHTML[+weight]
wrapSelection
firstChildOfNode
The
aboveHTML[+weight]
code). The weight can be an integer from
different participants. By convention, recordsets have a weight of
recordset variables, it needs a heavier weight, such as
recordset, as shown in the following example:
<insert location="aboveHTML+60">
If no weight is provided, it is internally assigned a weight of
specifically weighted participants, as shown in the following example:
<insert location="aboveHTML">
The
belowHTML[+weight]
are added below the closing
270
Chapter 15: Server Behaviors
@@recordset@@
attribute of the
on page
273).
,
belowHTML[+weight]
,
,
afterSelection
beforeNode
,
lastChildOfNode
value inserts the text above the
value is similar to the
tag.
/HTML
parameter is replaced by a recordset name that the
tag, so be sure to set both carefully (see
searchPatterns
,
beforeSelection
,
replaceNode
,
nodeAttribute[+attribute]
to
and is used to preserve relative order among
1
99
, so the code is inserted below the
60
aboveHTML
) signs.
@@
construct, as
CDATA
,
replaceSelection
,
,
afterNode
tag (suitable only for server
HTML
, so if a participant refers to
50
and is added below all
100
location, except that participants
,

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents