Componentes.Terceros.DevExp.../official/x.38/ExpressWeb Framework/Demos/Delphi/CustomRenderDemo/CustomRenderData.pas
2008-08-27 11:56:15 +00:00

35 lines
723 B
ObjectPascal

unit CustomRenderData;
interface
uses SysUtils, Classes, HTTPApp, cxWebModule, cxWebAppSrv;
type
TCustomRenderDataMod = class(TcxWebHomeDataModule)
private
{ Private declarations }
public
{ Public declarations }
end;
function CustomRenderDataMod: TCustomRenderDataMod;
implementation
{$R *.DFM}
uses
WebReq, WebCntxt, cxWebModFact, Variants;
function CustomRenderDataMod: TCustomRenderDataMod;
begin
Result := TCustomRenderDataMod(WebContext.FindModuleClass(TCustomRenderDataMod));
end;
initialization
if WebRequestHandler <> nil then
WebRequestHandler.AddWebModuleFactory(TcxWebHomeDataModuleFactory.Create(TCustomRenderDataMod, caDestroy));
end.