WebModu.TCustomWebPageModule
Delphi
TCustomWebPageModule = class(TCustomWebDataModule, IDefaultPageFileName, IPageResult, ISetWebContentOptions, IGetDefaultAction, IGetProducerComponent, IProducerEditorViewSupport)
C++
class PASCALIMPLEMENTATION TCustomWebPageModule : public TCustomWebDataModule
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | WebModu.pas WebModu.hpp |
WebModu | WebModu |
Description
TCustomWebPageModule is the base class for WebSnap modules that generate a Web page.
TCustomWebPageModule is the common base class for Web modules that generate a Web page for a WebSnap application. This class introduces two new properties:
PageProducer, which is a page producer component that generates the Web page associated with this module.
DefaultAction, which is an adapter action associated with the module's Web page. Typically, the action sets up parameters that appear in HTTP requests for the Web page.
TCustomWebPageModule also introduces events that occur when the WebSnap application calls on the Web page module to generate its page or when it generates a redirect message to redirect a request to the associated page.
Do not create instances of TCustomWebPageModule. It is intended only as a base class. Instead, use the Web module wizard or the WebSnap application wizard to add a TCustomWebPageModule descendant to your WebSnap application. Descendant classes include TWebAppPageModule and TWebPageModule.