Generate HTML for an article. If the applicable article contains active elements and so is itself active, this function will be called to serve the article in response to an AJAX request. Otherwise this function is only called to create a fixed HTML value for the article during program initialization. Note this function is never called by hdsPage::Display() since an hdsArticle cannot be a page component. Returns: None

Return TypeFunction nameArguments
voidhdsArticleStd::Display(hzChain&,hzHttpEvent*,)

Declared in file: hzDissemino.h
Defined in file : hdsGenerate.cpp

Function Logic:

0:START 1:items 2:unknown 3:pVE items 4: No text

Function body:

void hdsArticleStd::Display (hzChain& C)hzHttpEvent* pE, 
{
   //  Generate HTML for an article.
   //  
   //  If the applicable article contains active elements and so is itself active, this function will be called to serve the article in response to an AJAX request. Otherwise this
   //  function is only called to create a fixed HTML value for the article during program initialization.
   //  
   //  Note this function is never called by hdsPage::Display() since an hdsArticle cannot be a page component.
   //  
   //  Arguments: 1) C  The HTML output chain
   //     2) pE  The HTTP event being responded to
   //  
   //  Returns: None
   _hzfunc("hdsArticleStd::Display") ;
   hdsVE*      pVE ;           //  Html entity
   uint32_t    nV ;            //  Visual entity iterator
   uint32_t    relLn ;         //  Relative line
   threadLog("Generating Article %s\n", *m_Title) ;
   for (nV = 0; nV < m_VEs.Count() ; nV++)
   {
       pVE = m_VEs[nV] ; pVE->Generate(C, pE, relLn) ;
   }
}