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