Defined in file: hzDissemino.h

Derivative of: hdsResource

Each hdsPage instance contains everything needed for generation of a complete HTML page, including both page specific and standard JavaScripts.

Constructors/Detructors

hdsPage*hdsPage(hdsApp* pApp)
NULL-TYPEhdsPage(hdsApp* pApp)
void~hdsPage(void)

Public Methods:

hzEcodeAddVisent(hdsVE* pVE)
voidDisplay(hzHttpEvent* pE)Display HTML according to listed entities in the page. Returns: None
voidEvalHtml(hzChain& C)Create HTML for a page that is inactive and so can be stored. This will be done once per inactive pager per supported language. Because this is part of the initialization process there will not be an actual HTTP event so a blank one is created. This is necessary because the language is carried by the HTTP event m_pContextLang variable. CHANGE to:- Create pro-forma HTML for the page. If the page is active, this HTML will interspersed with percent entities that must be evaluated with each serving. Returns: None
voidHead(hzHttpEvent* pE)Send only the HTTP header for a page to the browser. Returns: None
hdsRtypeWhatami(void)
voidWriteValidationJS(void)This is run once upon startup and applies to each page in which there is one or more forms. It Creates the JavaScript that must be run to pre validate form content before submission to the server. Arguments: None Returns: None

Member Variables:

uint32_tm_BgColorBackground color
hzChainm_BodytextBody text (that found within <p> tags)
hzStringm_CSSName of style to include in the body tag
hzStringm_DescDescription (will generate meta tags)
hzMD5m_DigestLast accepted config digest
hzList<hdsExec*>m_ExecList of commands to run upon display (generation)
uint16_tm_HeightMargin hieght
hzStringm_KeysKeywords (will generate meta tags)
uint16_tm_LeftMargin left
uint32_tm_LineLine number of defining <xpage> tag in config file
hzList<hzString>m_LinksAll detected links in webpages
hzStringm_OnloadName of script to run on onload event (if any)
hzStringm_OnpageName of script to run on onpageshow event (if any)
hzStringm_ResizeName of script to run on onresize event (if any)
hzList<hzString>m_ScriptsPage JavaScripts
hzStringm_SrcFileName of XML config file the page is specified in (needed for saving online page edits)
hzStringm_SubjSubject (material classification)
uint16_tm_TopMargin top
hzArray<hdsVE*>m_VEsFirst level visual entities
uint16_tm_WidthMargin width
hzChainm_XMLXML config export (for editing by admin)
uint32_tm_bScriptFlagsWhich scripts to include
hdsApp*m_pAppParent Dissemino Application
hzStringm_rawHTMLProforma HTML (actual HTML if page is inactive)
hzStringm_validateJSValidation javascript (built by first run of WriteValidationJS)
hzList<hdsFormref*>m_xFormsNo of forms in page (used to assign standard scripts)
hzStringm_zipHTMLZipped HTML (if proforma is actual)