RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLBroker.OnGetResponse Event

Occurs when there are no errors applying updates to the application server.

Pascal
property OnGetResponse: TGetResponseEvent;
C++
__property TGetResponseEvent OnGetResponse;

Write an OnGetResponse event handler to edit the response message after an update request is successfully applied. 

The Sender parameter is the XML broker that applied updates to the application server with no errors. 

Request is the original request message that contains the delta packet of updates from the Web browser. 

Response is the emerging response message that will be sent to the Web browser in response to the update request. Fill in the properties of this object to generate a response (such as refreshing the data). 

Handled indicates whether the event handler completed filling out Response. Set Handled to true if the event handler completes the response for the Web browser. Leave Handled as false if the XML broker should send a redirect response that sends the browser back to the page that generated the update request. 

 

OnGetErrorResponse 

ApplyXMLUpdates 

Using an XML Broker

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!