RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
WebDisp.TGetAdapterRequestParamsEvent Type

TGetAdapterRequestParamsEvent is the type for event handlers that retrieve parameters for an adapter dispatcher.

Pascal
TGetAdapterRequestParamsEvent = procedure (Sender: TObject; Handler: IUnknown; var Identifer: string; Params: TStrings) of object;
C++
(Sender: TObject; Handler: IUnknown; var Identifer: string; Params: TStrings) ( TGetAdapterRequestParamsEvent)();

TGetAdapterRequestParamsEvent is the type for event handlers of an adapter dispatcher that fetch the parameters needed to execute an action or retrieve an image. 

Sender is the adapter dispatcher component. 

Handler is the interface of the adapter that has set up the Params parameter to reflect the current values. 

Identifier is the name of the action to execute or the image to retrieve. 

Params lists the parameters for the request. It lists the parameters in "Name=Value" strings. When the dispatcher is formatting parameters that are added to an HTML form, these values come from the adapter. When the dispatcher is handling an incoming request, these parameters come from the current request message. The event handler can change these parameters before they are added to the HTML form or passed to the adapter. 

 

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