UserLand Software Home  |  Manila  |  Radio  |  Support  |  News

DocServer

Prev | Next | mainResponder Verbs > mainResponder.tableToHTML

mainResponder.tableToHTML

Syntax mainResponder.tableToHTML (adrtable, adrparamtable)

Params adrtable is the address of a table in the ODB.

adrparamtable is the address of the parameter table.

Action Builds a HTML directory listing for the specified table.

Returns A string containing the generated HTML code.

Examples mainResponder.tableToHTML (@["Macintosh HD:Apps:Frontier:Guest Databases:www:htmlInterfaces.root"], pta)
Notes This script is called from mainResponder.respond if the requested URL points to a table which doesn't have a default object and if the allowDirectoryListings preference is true in this context.

See Also mainResponder.folderToHTML

Prev | Next | mainResponder Verbs > mainResponder.tableToHTML