nodeParamName

Description

This attribute is used only for node-relative insert locations. It indicates the name of the parameter that passes the node in at insertion time.

Parent

insertText

Type

Attribute.

Required

This attribute is required only if the insert location contains the word node.

Value

The tagtype__Tag value is a user-specified name for the node parameter that passes with the parameter object to the dwscripts.applySB() function. For example, if you insert some text into a form, you might use a form__tag parameter. In your server behavior applyServerBehavior() function, you could use the form__tag parameter to 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 node parameter in your EDML file, as shown in the following example:

<insertText location="lastChildOfNode" nodeParamName="form__tag"> <![CDATA[<input type="hidden" name="MY_DATA">]]></insertText>

The text is inserted as the lastChildOfNode value, and the specific node passes in using the form__tag property of the parameter object.