BBjAppConfig::getShowClientConfirmationDialog

Description

In BBj 12.0 and higher, this method returns a boolean indicating whether to display a confirmation dialog when the user attempts to leave the application's page. The default value is  true.

Syntax

Return Value

Method

boolean

getShowClientConfirmationDialog()

Parameters

None.

Return Values

Returns a boolean indicating whether the BUI page should attempt to prevent the user from leaving the web application page while the application is still active.

Remarks

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

Example

rem ' BBjAppConfig::getShowClientConfirmationDialog

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

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::setShowClientConfirmationDialog

BBjAppServer

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