Show: Delphi C++
Display Preferences

WebFact.TWebPageInfo

From XE2 API Documentation
Jump to: navigation, search

WebFact.TBaseWebPageInfoWeb.HTTPApp.TAbstractWebPageInfoSystem.TObject
TWebPageInfo

Delphi

TWebPageInfo = class(TBaseWebPageInfo)

C++

class PASCALIMPLEMENTATION TWebPageInfo : public TBaseWebPageInfo

Properties

Type Visibility Source Unit Parent
class public
WebFact.pas
WebFact.hpp
WebFact WebFact

Description

TWebPageInfo describes a WebSnap page.

The TWebPageInfo module stores information relating to a web page, such as the template filename, page name, title, description, and access rights. This information is part of the web page module factory. This information is stored as part of the factory rather than as part of the module so that it can be accessed without creating the web page module.

An instance of a TWebPageInfo is supplied to the constructor of the factory object that creates instances of the 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 (in Delphi, the generated code appears in the initialization section of the generated unit for the Web page module; in C++, it appears in a #pragma startup). You can change the generated code 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.

See Also

Personal tools
Previous Versions
Translations