html.buildObject

Syntax html.buildObject (adrObject, adrPageTable, templateName)

Params adrObject is the object database address of a page.

adrPageTable is the optional address of the page table.

templateName is the optional name of a named template to use instead of the default #template object.

Action Renders a page through the website framework or publishes a binary file.

Returns The text of the page or binary data.

Examples html.buildObject (@websites.samples.bitOfText, @websites.["#data"])

   » "<html>\r<head>\r<title>websites.samples.bitOfText</title>\r<meta name=\"generator" content="Frontier 6.0a2 MacOS">r<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">..."

Notes This verb is used directly by the webserver framework. To publish static sites, use html.buildOnePage to publish a single page or html.ftpTable to publish an entire table.

If adrPageTable is not supplied, the default is to use websites.["#data"].

See Also html.buildOnePage

html.ftpTable

Discuss