RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
WebDisp.TDispatchActionEvent Type

TDispatchActionEvent is the type for event handlers that respond when an adapter action executes.

Pascal
TDispatchActionEvent = procedure (Sender: TObject; Action: TObject; Params: TStrings) of object;
C++
(Sender: TObject; Action: TObject; Params: TStrings) ( TDispatchActionEvent)();

TDispatchActionEvent is the type for event handlers of an adapter dispatcher that respond when the adapter action executes a request. 

Sender is the adapter dispatcher component that received the HTTP request message. 

Action is the object that executes the action. If the dispatcher could not find an object to execute the action, this parameter is nil (Delphi) or NULL (C++). 

Params lists the parameters for the action, in 'Name=Value' format. The '__id' parameter gives the name of the action to execute. If the current request is not a request to execute an action, Params is nil (Delphi) or NULL (C++). 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!