BBjAppConfig::setShowClientConfirmationDialog

Description

In BBj 12.0 and higher, this method 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 while the application is running.

Return Values

None.

Remarks

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

Example

rem ' BBjAppConfig::setShowClientConfirmationDialog

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
appConfig! = appServer!.makeEmptyAppConfig()
appConfig!.setShowClientConfirmationDialog(1)
print "setShowClientConfirmationDialog: ",
print appConfig!.getShowClientConfirmationDialog()

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::getShowClientConfirmationDialog

BBjAppServer

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