Webster+ HTML Merge/Bind Object

Bind Object Methods

The Webster+ bind object methods are listed below. When referencing the method, it would normally be prefixed with %Webster'Bind'.

Method

Description

File$("html_file")

Will read the contents of html_file, process the embedded codes to bind the data, and return the bound output as a string.

FileTo("html_file", channel)

Will read the contents of html_file, process the embedded codes to bind the data, and output the specified channel.

FileTo("html_file", filename$)

Will read the contents of html_file, process the embedded codes to bind the data, and output the specified output file given in filename$.

Html$(html$)

HtmlTo(html$, channel)

HtmlTo(html$, filename$)

These three methods provide the same functionality as the Bind'File methods; however, instead of working from an input HTML file, the input HTML can be passed in directly.

Reload(controlname$)

Can be used during an update cycle to regenerate the contents of a list or grid where you want to replace the full contents. If necessary, it can be used on any control for which there is an associated variable name to cause the control to be redrawn.

Where:

controlname$ is a string that contains the name of the variable on the Webster+ generated page that is to be regenerated.

Note:
This function should only be used when doing an Ajax style update.