Defined in file: hzDissemino.h

Derivative of: hdsVE

The hdsTable class as a visible entity is arguably a misnomer because it does not itself generate a visible manifestation. Instead it controls the presentation of sets of objects or values by child visible entities. hdsLoop is as its name implies, a loop controller. HTML is generated via the subtags for each object or value in the set. In the configs hdsLoop instances are effected by the <xloop> tag. This requires an attribute of 'src' to specify the source of the list. This can be either a single class member of a single object that is itself a list (of objects or values) or it can be search criteria whose result will be a set of objects which, because we are not using SQL, is nessesarily limited to one class. Where the result is a list of values, the <xloop> subtags would generally be list tags (<ul> and <li>) and where the result is a list of objects, the <xloop> subtags would generally be table tags. In the configs, the list or table subtag contents (the values to be displayed) are derived from the usual percent notation used for variables. There is no need for subscripts to the variables as within an <xloop> the context is always taken to mean 'the current iteration' of the loop ie the current member of the list.

Constructors/Detructors

hdsTable*hdsTable(hdsApp* pApp)
NULL-TYPEhdsTable(hdsApp* pApp)
void~hdsTable(void)
NULL-TYPE~hdsTable(void)

Public Methods:

voidGenerate(hzChain& C)hzHttpEvent* pE, uint32_t& nLine, Does not in itself produce HTML but the subtags do. The complete set of subtags are called for each member of the list the hdsTable controls. Returns: None
xTagWhatami(void)

Member Variables:

hzList<hdsCol>m_ColsColumn names
hzStringm_CriteriaSelection criteria
hzStringm_ReposData source name (repository class name, directory name)
boolm_bEditMake table cells editable
uint32_tm_nHeightWidth of table
uint32_tm_nRowsNumber of rows to display
uint32_tm_nWidthWidth of table
hdsVE*m_pFootHTML to be displayed after listing
hdsVE*m_pHeadHTML to be displayed before listing
hdsVE*m_pNoneHTML to be dispalyed in the event of no files/directories found
hdbObjRepos*m_pReposData repository