beautypg.com

Beaweb.templatedata component, Templatedata methods, Setvalue – HP NonStop G-Series User Manual

Page 300

background image

BEAWEB.TemplateData Component

The following component creates instances of the TemplateData object.

Server.CreateObject ("BEAWEB.TemplateData")

TemplateData Methods

The following methods are used in conjunction with the TemplateData object:

setValue

getValue

setValueByIndex

getValueByIndex

setBytesValue

getBytesValue

getBytesValueByIndex

setBytesValueByIndex

getCount

importRequest

setValue

setValue(String name, String value)

name

The name of the data element.

value

The string value for the data element.

Usage This method is same as setValueByIndex(name,0,value) for non-octet value.