RAD Studio VCL Reference
|
Returns the default template that the page producer can use to generate content.
function GetDefaultTemplate: string; virtual;
virtual __fastcall AnsiString GetDefaultTemplate();
GetDefaultTemplate returns the default template that the page producer can use to generate its content. This template has the form:
<HTML> <HEAD> </HEAD> <BODY> <#STYLES> <#WARNINGS> <#SERVERSCRIPT> </BODY> </HTML>
TBaseAdapterPageProducer automatically handles the conversion of the HTML-transparent tags in the default template as follows:
<#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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|