BBjAppConfig::getOmitBasisCss

Description

In BBj 17.0 and higher, this method returns a boolean indicating whether this BUI app should be run without the default BASIS CSS. The default value is false.

Syntax

Return Value

Method

boolean

getOmitBasisCss()

Parameters

None.

Return Value

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

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::getOmitBasisCss

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

See Also

BUI CSS Component Styles

BUI CSS API

BBjAppConfig::clearOmitBasisCss()

BBjAppConfig::setOmitBasisCss()