BBjAppConfig::setEndAction

Description

In BBj 14.0 and higher, this method sets the action that will occur on normal application termination.

Syntax

Return Value

Method

void

setEndAction(BBjBuiCloseAction action)

Parameters

Variable

Description

action

A BBjBuiCloseAction object that defines the normal application termination action.

Return Values

None.

Remarks

None.

Example

rem ' BBjAppConfig::setEndAction

bui! = bbjapi().getBuiManager()
admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
appConfig! = appServer!.makeEmptyAppConfig()
print "getEndAction: ",appConfig!.getEndAction()
print "setEndAction()"
appConfig!.setEndAction(bui!.appAction("mainmenu"))
print "getEndAction: ",appConfig!.getEndAction()
print "clearEndAction()"
appConfig!.clearEndAction()
print "getEndAction: ",appConfig!.getEndAction()

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::getEndAction

BBjAppServer

BBjAppServer::getEndAction

BBjBuiCloseAction

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