Adobe 38040334 - Dreamweaver CS3 User Manual page 272

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Value
The
value is a user-specified name for the node parameter that passes with the parameter object to the
tagtype_Tag
function. For example, if you insert some text into a form, you might use a
dwscripts.applySB()
parameter. In your server behavior
indicate the exact form to update, as shown in the following example:
function applyServerBehavior(ssRec) {
var paramObj = new Object();
paramObj.rs = getRecordsetName();
paramObj.form_tag = getFormNode();
dwscripts.applySB(paramObj, sbObj);
}
You can indicate the
form_tag
<insertText location="lastChildOfNode" nodeParamName="form_tag">
<![CDATA[<input type="hidden" name="MY_DATA">]]>
</insertText>
The text is inserted as the
lastChildOfNode
the parameter object.
<searchPatterns>
Description
This tag provides information about finding the participant text in the document, and it contains a list of patterns
that are used when searching for a participant. If multiple search patterns are defined, they must all be found within
the text being searched (the search patterns have a logical AND relationship), unless they are marked as optional
using the
flag.
isOptional
Parent
implementation
Type
Block tag.
Required
No.
<searchPatterns> attributes
The following items are valid attributes of the searchPatterns tag.
whereToSearch
Description
This attribute specifies where to search for the participant text. This attribute is related to the insert location, so be
sure to set each attribute carefully (see "location" on page 264).
Parent
searchPatterns
applyServerBehavior()
node parameter in your EDML file, as shown in the following example:
value, and the specific node passes in using the
function, you could use the
DREAMWEAVER CS3
Extending Dreamweaver
form_tag
parameter to
form_tag
property of
form_tag
266

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents