RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseAdapterPageProducer Class

TBaseAdapterPageProducer generates the proper HTML and JavaScript needed to display adapter fields and execute adapter actions.

Pascal
TBaseAdapterPageProducer = class(TBasePageItemsProducer, IWebComponentEditor, ISetWebContentOptions, IProducerEditorViewSupport);
C++
class TBaseAdapterPageProducer : public TBasePageItemsProducer, public IWebComponentEditor, public ISetWebContentOptions, public IProducerEditorViewSupport;

SiteProd

TBaseAdapterPageProducer creates an HTML page using content it obtains from a hierarchy of components called Web items. The Web items that appear in the TBaseAdapterPageProducer's hierarchy use Adapter components to fetch the information that they display. 

Use TBaseAdapterPageProducer as a base class for page producer components that assemble their content from Web items that use Adapter components. TBaseAdapterPageProducer implements the logic for converting an HTML template into content it assembles from its hierarchy of Web items. 

TBaseAdapterPageProducer implements the logic to translate the following special HTML-transparent tags: 

<#STYLES> - This tag is replaced by the stylesheet defined by the Styles or StylesFile property. 

<#WARNINGS> - This tag is replaced with design time warnings that indicate possible problems with the hierarchy of web items. 

<#SERVERSCRIPT> - This tag is replaced with generated HTML/JavaScript based on the hierarchy of Web items. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!