Home Solutions Web and Application Hosting Site Development Services InfraServer Application Server Technical Support Corporate Login
|
|
| infraServer components: Document
|

The Document component, as with the Directory and
Account
components, serves the role of allowing web content to be organized hierarchically and
accessible by URL.
Documents are used to contain the more specialized components which provide the
information and dynamics of a web page, while separating and implementing page/document-level attributes like page titles, page layouts, and style tags.
Attributes
| Name |
Value/Explanation |
| page title |
Text which describes the associated Document. This is placed in the <title> tag of the HTML response to a request for the Document. Most web browsers will place this text in the title bar of the browser window. |
| page bgcolor |
Hexadecimal notation for the background color of the Document. If it is unspecified the InfraServer provides the background color (if any) of the Document's parent. |
| page bgimage |
The location (URL) of an image to serve as a background to the content of the Document. |
| page layout |
If the components within a Document are to be displayed within the page in a particular format, an HTMLObject (denoted by its URL) may be used (and re-used in other Documents) to generate such formatting. This is useful in creating persistent navigation, banners, or footers, for example, throughout a website. |
| versioning |
A flag denoting whether or not this Document shall serve as a version control repository. If so, the contents of the Document are not to be edited directly and version control tools are available for modifying and reviewing the Document's contents. |
|