RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
WebDisp.TDispatchPageParamsHandledEvent Type

TDispatchPageParamsHandledEvent is the type for event handlers that are called before a WebSnap application assembles a response message redirecting the caller to another Web page.

Pascal
TDispatchPageParamsHandledEvent = procedure (Sender: TObject; const PageName: string; Params: TStrings; var Handled: Boolean) of object;
C++
(Sender: TObject; const PageName: string; Params: TStrings; var Handled: Boolean) ( TDispatchPageParamsHandledEvent)();

TDispatchPageParamsHandledEvent is the type for event handlers that are called when an adapter in the WebSnap application executes an adapter action whose options include a redirection (roRedirectHTTPGet or roRedirectHTTPPost). 

Sender is the page dispatcher or Web page module that receives the event. 

PageName is the name of the Web page to which the request should be redirected. 

Params is a set of name/value pairs that should be added to the redirect message for use by the Web page module when it receives the redirected request. 

Handled returns an indication of how the application should proceed after the event handler exits. If the event handler sets Handled to true, the application assumes that the event handler has taken care of setting up the response message to indicate the redirection. If the event handler leaves Handled set to false, the application continues with its normal processing of the redirection. 

 

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