RADpage always works on a particular Web site. It sees a Web site as a collection of heitml pages contained in a single directory or a directory tree. In most cases the directory will be the root directory of a specific (virtual) Web server, but it can be a any subdirectory.
The root directory of a Web site must contain a file named heitml.hei. By pointing the browser to this file, RADpage is started and is initialized to work on this particular Web site. To edit pages on another Web site RADpage must be restarted by calling heitml.hei on that site.
Normally a Web site is created during installation, so there is no immediate need to understand the inner workings. For more advanced users, however, here is a detailed description.
For each Web site there should be a subdirectory named layout contained in the heitml include path. The layout subdirectory must at least contain a layout include file and the woutline.hei file. By changing the layout file the page layout of each page contained in the Web site can be changed. The woutline file contains a definition of the Web sites outline. See the Outline Library for details. Users can place other include files that are used locally in a single Web site into the layout subdirectory.
RADpage works on the database specified in the heitml configuration for the root directory of the current Web site. If a Web site consists of more than one directory, the RADpage assumes that the heitml configuration of each subdirectory defines the same database.
To use RADpage the heitml2.1/control directory must be included in the heitml include path before the heitml2.1/lib directory. In production use the heitml2.1/control directory can be removed from the path which makes page generation slightly more efficient.
© 1996-2013 H.E.I. All Rights Reserved.