RAD Studio VCL Reference
|
tcustomadapterpageproducer generates the proper HTML and JavaScript needed to display adapter fields and execute adapter actions.
TCustomAdapterPageProducer = class(TBaseAdapterPageProducer, IWebContent);
class TCustomAdapterPageProducer : public TBaseAdapterPageProducer, public IWebContent;
SiteProd
tcustomadapterpageproducer creates an HTML page using content it obtains from a hierarchy of components called Web items. The Web items that appear in the tcustomadapterpageproducer's hierarchy use Adapter components to fetch the information that they display.
Use tcustomadapterpageproducer as a base class for page producer components that assemble their content from Web items that use Adapter components.
tcustomadapterpageproducer introduces two properties, HTMLDoc and HTMLFile, each of which can specify a template that the page producer uses to generate its content. By default, this template is set to include the following special 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. tcustomadapterpageproducer will not generate any content if this tag is missing.
Applications can alter the template to further embellish the content that the page producer generates.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|