loadFile

loadFile(fileName: String);

The loadFile method of the WebInsert class dynamically loads the specified file as part of the HTML generate process.

Use the fileName parameter to specify the fully qualified name of the text file that you want inserted into the Web page during the HTML generate. This file name includes the full path of the JADE application if the file is not located in the default directory.

If the file cannot be located or it cannot be read, an error is displayed in an exception dialog.