XslCustDm.pas
资源名称:delphi.rar [点击查看]
上传用户:fh681027
上传日期:2022-07-23
资源大小:1959k
文件大小:1k
源码类别:
Delphi控件源码
开发平台:
Delphi
- 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.