xslcustdm.pas
来自「delphi6 programming example」· PAS 代码 · 共 45 行
PAS
45 行
unit XslCustDm;
interface
uses
Windows, Messages, SysUtils, Classes, HTTPApp, WebModu, HTTPProd, ReqMulti,
xmldom, XMLIntf, WebDisp, WebAdapt, WebComp, msxmldom, XMLDoc, XSLProd,
Provider, DB, DBTables, XMLBrokr;
type
Tcustomers = class(TWebAppPageModule)
XSLPageProducer: TXSLPageProducer;
WebAppComponents: TWebAppComponents;
ApplicationAdapter: TApplicationAdapter;
PageDispatcher: TPageDispatcher;
AdapterDispatcher: TAdapterDispatcher;
XMLBroker1: TXMLBroker;
Table1: TTable;
DataSetProvider1: TDataSetProvider;
private
{ Private declarations }
public
{ Public declarations }
end;
function customers: Tcustomers;
implementation
{$R *.dfm} {*.xsl}
uses WebReq, WebCntxt, WebFact, Variants;
function customers: Tcustomers;
begin
Result := Tcustomers(WebContext.FindModuleClass(Tcustomers));
end;
initialization
if WebRequestHandler <> nil then
WebRequestHandler.AddWebModuleFactory(TWebAppPageModuleFactory.Create(Tcustomers, TWebPageInfo.Create([wpPublished {, wpLoginRequired}], '.xsl'), caCache));
end.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?