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-TYPE | hdsPage | (hdsApp* pApp) | |
| void | ~hdsPage | (void) |
Public Methods:
| hzEcode | AddVisent | (hdsVE* pVE) | |
| void | Display | (hzHttpEvent* pE) | Display HTML according to listed entities in the page. Returns: None |
| void | EvalHtml | (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 |
| void | Head | (hzHttpEvent* pE) | Send only the HTTP header for a page to the browser. Returns: None |
| hdsRtype | Whatami | (void) | |
| void | WriteValidationJS | (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_t | m_BgColor | Background color | |
| hzChain | m_Bodytext | Body text (that found within <p> tags) | |
| hzString | m_CSS | Name of style to include in the body tag | |
| hzString | m_Desc | Description (will generate meta tags) | |
| hzMD5 | m_Digest | Last accepted config digest | |
| hzList<hdsExec*> | m_Exec | List of commands to run upon display (generation) | |
| uint16_t | m_Height | Margin hieght | |
| hzString | m_Keys | Keywords (will generate meta tags) | |
| uint16_t | m_Left | Margin left | |
| uint32_t | m_Line | Line number of defining <xpage> tag in config file | |
| hzList<hzString> | m_Links | All detected links in webpages | |
| hzString | m_Onload | Name of script to run on onload event (if any) | |
| hzString | m_Onpage | Name of script to run on onpageshow event (if any) | |
| hzString | m_Resize | Name of script to run on onresize event (if any) | |
| hzList<hzString> | m_Scripts | Page JavaScripts | |
| hzString | m_SrcFile | Name of XML config file the page is specified in (needed for saving online page edits) | |
| hzString | m_Subj | Subject (material classification) | |
| uint16_t | m_Top | Margin top | |
| hzArray<hdsVE*> | m_VEs | First level visual entities | |
| uint16_t | m_Width | Margin width | |
| hzChain | m_XML | XML config export (for editing by admin) | |
| uint32_t | m_bScriptFlags | Which scripts to include | |
| hdsApp* | m_pApp | Parent Dissemino Application | |
| hzString | m_rawHTML | Proforma HTML (actual HTML if page is inactive) | |
| hzString | m_validateJS | Validation javascript (built by first run of WriteValidationJS) | |
| hzList<hdsFormref*> | m_xForms | No of forms in page (used to assign standard scripts) | |
| hzString | m_zipHTML | Zipped HTML (if proforma is actual) |