beautypg.com

Template object, Issuspended, Beaweb.template component – HP NonStop G-Series User Manual

Page 298: Template methods, Eval -- data set list

background image

isSuspended

boolean isSuspended()

Usage Check if this session pool is suspended, so it does not accept any new requests. This
method is part of the administrative class library.

Template Object

This object provides the Template implementation for the Microsoft Application Server Pages.
The output of the template content is sent to the web server response buffer.

BEAWEB.Template Component

The following component creates an instance of the Template object.

Server.CreateObject ("BEAWEB.Template")

Template Methods

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

eval -- data set list

evalFile

load

unload

eval -- data set list

int eval(TemplateData data[])

data

An array of TemplateData or Result objects.

Returns 0 if success; -1 for any error.

Usage Process the cached template with a list of data set and send the processed template to the
response buffer. The list must be a VBScript Array object.