BBjAppConfig::clearShowClientConfirmationDialog

Description

In BBj 12.0 and higher, this method clears any application-specific setting and uses the server's default setting for whether to show a confirmation dialog when the user attempts to leave the application's page.

Syntax

Return Value

Method

void

clearShowClientConfirmationDialog()

Parameters

None.

Return Values

None.

Remarks

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

Example

rem ' BBjAppConfig::clearShowClientConfirmationDialog

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

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::getShowClientConfirmationDialog

BBjAppConfig::setShowClientConfirmationDialog

BBjAppServer

BBjAppServer::getShowClientConfirmationDialog

BBjAppServer::setShowClientConfirmationDialog

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