BBjAppServer::setShowClientConfirmationDialog

Description

In BBj 12.0 and higher, sets whether to display a confirmation dialog when the user attempts to leave the application's page.

Syntax

Return Value

Method

void

setShowClientConfirmationDialog(boolean show)

Parameters

Variable

Description

show

A boolean indicating whether the BUI page should attempt to prevent the user from leaving the web application page.

Return Value

None.

Remarks

Some browsers, including Mobile Safari on iOS, never prompt the user when navigating away from a page.

Example

rem ' BBjAppServer::setShowClientConfirmationDialog

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
show! = appServer!.getShowClientConfirmationDialog()
appServer!.setShowClientConfirmationDialog(show!)
print "setShowClientConfirmationDialog ",show!

See Also

BBjAPI

BBjAppServer

BBjAppServer::getShowClientConfirmationDialog

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.