git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.DevExpressVCL@29 05c56307-c608-d34a-929d-697000501d7a
36 lines
719 B
ObjectPascal
36 lines
719 B
ObjectPascal
unit Frame2;
|
|
|
|
interface
|
|
|
|
uses SysUtils, Classes, HTTPApp, cxWebModule, cxWebAppSrv, cxWebClasses,
|
|
cxWebControls, cxWebStdCtrls;
|
|
|
|
|
|
type
|
|
TFrame2Page = class(TcxWebPageModule)
|
|
private
|
|
{ Private declarations }
|
|
public
|
|
{ Public declarations }
|
|
end;
|
|
|
|
function Frame2Page: TFrame2Page;
|
|
|
|
implementation
|
|
|
|
{$R *.DFM} {*.html}
|
|
|
|
uses
|
|
WebReq, WebCntxt, cxWebModFact, Variants;
|
|
|
|
function Frame2Page: TFrame2Page;
|
|
begin
|
|
Result := TFrame2Page(WebContext.FindModuleClass(TFrame2Page));
|
|
end;
|
|
|
|
initialization
|
|
if WebRequestHandler <> nil then
|
|
WebRequestHandler.AddWebModuleFactory(TcxWebPageModuleFactory.Create(TFrame2Page, TcxWebPageInfo.Create('*.html'), caCache));
|
|
|
|
end.
|