SimpleWebPage (open)
A simple webpage that renders the specified body
Syntax
LOADLIB "mod::publisher/lib/webdesign.whlib";
OBJECTTYPE SimpleWebPage
Constructor
- MACRO NEW(MACRO PTR body)
Construct a simple webpage
Properties
- PROPERTY absolutebaseurl (inherited from WebPageBase)
The full URL up to the current file
- PROPERTY subpath (inherited from WebPageBase)
The remainder of the URL, excluding any variables.
- PROPERTY webdesign (inherited from WebPageBase)
Current webdesign
Functions
- RECORD FUNCTION GetDynamicPageCacheSettings() (inherited from WebPageBase)
Override GetDynamicPageCacheSettings to set your own cache settings. The page must already have been marked as cacheable (ie have a cachettl)
- MACRO PTR FUNCTION GetPageBody()