RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseWebPageInfo Class

TBaseWebPageInfo stores information about a page registered with a Web page module factory.

Pascal
TBaseWebPageInfo = class(TAbstractWebPageInfo);
C++
class TBaseWebPageInfo : public TAbstractWebPageInfo;

WebFact

The TBaseWebPageInfo component stores basic information about an HTML page such as the filename, page name, page title, descriptive text, publish status, and access rights. This information is stored with the Web page module factory. 

An instance of a TBaseWebPageInfo descendant, such as TWebPageInfo, is supplied to the constructor of the factory object that creates instances of a Web page module. Typically, the code to create this object and supply it to the Web page factory's constructor is generated by a Web page module wizard. You can change this generated code, which appears in the generated unit for the Web page module, to alter the properties of the Web page information object. For example, you may want to add a ViewAccess string to allow your application to limit access to the Web page. 

In a WebSnap application, you can access the Web page information object of any Web page module by calling the FindPageInfo method of the application's global Web context. 

 

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