T
taiyangf
Unregistered / Unconfirmed
GUEST, unregistred user!
type
TAddRPL = class(TWebPageModule)
AdapterPageProducer: TAdapterPageProducer;
AdapterForm1: TAdapterForm;
AdapterFieldGroup1: TAdapterFieldGroup;
FldContent: TAdapterDisplayField;
AdapterCommandGroup1: TAdapterCommandGroup;
CmdCancel: TAdapterActionButton;
CmdApply: TAdapterActionButton;
private
{ Private declarations }
public
{ Public declarations }
end;
function AddRPL: TAddRPL;
implementation
{$R *.dfm} {*.html}
uses WebReq, WebCntxt, WebFact, wdmDB;
function AddRPL: TAddRPL;
begin
Result := TAddRPL(WebContext.FindModuleClass(TAddRPL));
end;
initialization
if WebRequestHandler <> nil then
WebRequestHandler.AddWebModuleFactory(TWebPageModuleFactory.Create(TAddRPL, TWebPageInfo.Create([wpLoginRequired], '.html', '', '我的回复'), crOnDemand, caCache));
end.
为什么出现,type错误
TAddRPL = class(TWebPageModule)
AdapterPageProducer: TAdapterPageProducer;
AdapterForm1: TAdapterForm;
AdapterFieldGroup1: TAdapterFieldGroup;
FldContent: TAdapterDisplayField;
AdapterCommandGroup1: TAdapterCommandGroup;
CmdCancel: TAdapterActionButton;
CmdApply: TAdapterActionButton;
private
{ Private declarations }
public
{ Public declarations }
end;
function AddRPL: TAddRPL;
implementation
{$R *.dfm} {*.html}
uses WebReq, WebCntxt, WebFact, wdmDB;
function AddRPL: TAddRPL;
begin
Result := TAddRPL(WebContext.FindModuleClass(TAddRPL));
end;
initialization
if WebRequestHandler <> nil then
WebRequestHandler.AddWebModuleFactory(TWebPageModuleFactory.Create(TAddRPL, TWebPageInfo.Create([wpLoginRequired], '.html', '', '我的回复'), crOnDemand, caCache));
end.
为什么出现,type错误