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