DynamicPageBase (open)
Older base class for static pagetypes (new pages should use WebPageBase)
Syntax
LOADLIB "mod::publisher/lib/webdesign.whlib";
OBJECTTYPE DynamicPageBase
Constructor
- MACRO NEW()
Constructs the dynamic page, sets up the absolutebaseurl and subpath propertires
Properties
- PROPERTY absolutebaseurl
The full URL up to the current dynamic file
- PROPERTY pagefolder
- PROPERTY subpath
The remainder of the URL, excluding any variables
Functions
- RECORD FUNCTION GetDynamicPageCacheSettings()
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(OBJECT webdesign)
- MACRO PrepareForPageConfig(OBJECT webdesign)
- MACRO PrepareForRendering(OBJECT webdesign)
- MACRO RunBody(OBJECT webdesign)
- MACRO RunPage()
- MACRO RunPageForWHFSId(INTEGER whfsid)