DataLossConfirmation - cWebBaseDEOServer

Default data loss Yes/No confirmation message

Type: Procedure

Parameters: Handle hmCallBack

hmCallBackHandle of the callback message to use

Procedure DataLossConfirmation Handle hmCallBack

Call: Send DataLossConfirmation hmCallBack


This message is used by the view's Verify_Data_Loss_msg property to determine the default message to display for a view when the user navigates away from it in such a way that unsaved changes in that view will be lost.

It will pop up a "Yes/No?" dialog on the client with a "save changes before closing?" message. When the user selects one of the options, a callback message is sent to the view to perform the appropriate action. See Verify_Data_Loss_msg for more information about the callback message.

In a mobile/touch web application that uses the drill down "navigate" interface, there are several types of default data loss messages that can be displayed in addition to this one. Which message will be displayed can be controlled dynamically for each view by setting peChangedViewExitAction.

Normally, you do not need to do anything with the DataLossConfirmation message since it is automatically assigned to the cWebView object's Verify_Data_Loss_msg property.

See Also