RAD Studio VCL Reference
|
TComponentsPageProducer produces a string of HTML commands based on an input template.
TComponentsPageProducer = class(TBasePageProducer);
class TComponentsPageProducer : public TBasePageProducer;
CompProd
Use TComponentsPageProducer to convert an HTML template that includes content generated by other components into a string of HTML commands that can be interpreted by a client application such as a Web browser. HTML templates include HTML commands and HTML-transparent tags that are replaced with customized content by the components page producer in an OnHTMLTag event handler.
Components page producers differ from other page producer components in that they replace special HTML-transparent tags of the format
<#COMPONENT Name=WebContentComponent>
with the HTML produced by the component named WebContentComponent. WebContentComponent must have the same Owner as the components page producer and support the IWebContent interface, which the components page producer uses to obtain the replacement HTML for the COMPONENT tag.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|