BBjApplication::getShowClientConfirmationDialog

Description

In BBj 12.0 and higher, this method returns 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 active.

Remarks

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

Example

rem ' BBjApplication::getShowClientConfirmationDialog

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
vector! = appServer!.getAllAppNames()
if (vector!.size()) then
    for i = 0 to vector!.size() - 1
        appName$ = vector!.get(i)
        app! = appServer!.getApplication(appName$)
        print appName$," getShowClientConfirmationDialog: ",
        print app!.getShowClientConfirmationDialog()
    next i
endif

See Also

BBjAPI

BBjAppConfig

BBjAppServer

BBjApplication

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