RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseWebPageModuleFactory.Create Constructor

Creates and initializes an instance of TBaseWebPageModuleFactory.

Pascal
constructor Create(AComponentClass: TComponentClass; AWebPageInfo: TAbstractWebPageInfo; ACreateMode: TWebModuleCreateMode; ACacheMode: TWebModuleCacheMode);
C++
__fastcall TBaseWebPageModuleFactory(TComponentClass AComponentClass, TAbstractWebPageInfo AWebPageInfo, TWebModuleCreateMode ACreateMode, TWebModuleCacheMode ACacheMode);

Call Create to instantiate a Web page module factory. Typically, Web page module factory objects are created in the initialization section of the unit for the Web page module. The call to the constructor is added by the Web module wizard or WebSnap application wizard when it generates the unit for the Web page module. 

AComponentClass is the class of the Web page module that this factory object creates. It becomes the value of the ComponentClass property. 

AWebPageInfo is the Web page information object that describes the Web page that this factory's Web page module generates. It becomes the value of the WebPageInfo property. 

ACreateMode describes whether the factory should create instances of the Web page module for every request message, or only when the application explicitly requests the Web page module. This becomes the value of the CreateMode property. 

ACacheMode indicates whether the application can cache Web page module instances for reuse with subsequent request messages. This becomes the value of the CacheMode property. 

 

WebPageInfo 

ComponentClass 

CreateMode 

CacheMode

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