|
@@ -63,6 +63,7 @@ Type
|
|
Protected
|
|
Protected
|
|
procedure SetContentProducer(const AValue: THTTPContentProducer);virtual;
|
|
procedure SetContentProducer(const AValue: THTTPContentProducer);virtual;
|
|
Function GetDisplayName : String; override;
|
|
Function GetDisplayName : String; override;
|
|
|
|
+ Function GetNamePath : String; override;
|
|
Procedure SetDisplayName(const AValue : String); override;
|
|
Procedure SetDisplayName(const AValue : String); override;
|
|
Procedure HandleRequest(ARequest : TRequest; AResponse : TResponse; Var Handled : Boolean);
|
|
Procedure HandleRequest(ARequest : TRequest; AResponse : TResponse; Var Handled : Boolean);
|
|
Procedure DoHandleRequest(ARequest : TRequest; AResponse : TResponse; Var Handled : Boolean); virtual;
|
|
Procedure DoHandleRequest(ARequest : TRequest; AResponse : TResponse; Var Handled : Boolean); virtual;
|
|
@@ -316,6 +317,13 @@ begin
|
|
Result:=FName;
|
|
Result:=FName;
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
+Function TCustomWebAction.GetNamePath : String;
|
|
|
|
+begin
|
|
|
|
+ If (FName='') then
|
|
|
|
+ FName:=ClassName+IntToStr(self.Index);
|
|
|
|
+ Result:=FName;
|
|
|
|
+end;
|
|
|
|
+
|
|
procedure TCustomWebAction.SetDisplayName(const AValue: String);
|
|
procedure TCustomWebAction.SetDisplayName(const AValue: String);
|
|
begin
|
|
begin
|
|
Inherited;
|
|
Inherited;
|