BBjAppConfig::setOmitBasisCss

Description

In BBj 17.0 and higher, this method sets whether this BUI app should be run without the default BASIS CSS.

Syntax

Return Value

Method

void

setOmitBasisCss(boolean omitBasisCss)

Parameters

Variable

Description

omitBasisCss

A boolean indicating whether this BUI app should be run without the default BASIS CSS.

Return Value

None.

Remarks

By default, BUI apps are deployed with a complex CSS file defining detailed rules for each BBjControl. When this mode is set, that default CSS file is omitted, and the developer is responsible for providing all necessary CSS rules.

Example

rem ' BBjAppConfig::setOmitBasisCss

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
appConfig! = appServer!.makeEmptyAppConfig()
appConfig!.setOmitBasisCss(0)
print "BBjAppConfig setOmitBasisCss: ",
print appConfig!.getOmitBasisCss()

See Also

BUI CSS Component Styles

BUI CSS API

BBjAppConfig::clearOmitBasisCss()

BBjAppConfig::getOmitBasisCss()

BBjAppServer::getOmitBasisCss()

BBjAppServer::setOmitBasisCss()