BBjAppConfig::clearOmitBasisCss

Description

In BBj 17.0 and higher, this method clears any application-specific setting and uses the server's default OmitBasisCss setting.

Syntax

Return Value

Method

void

clearOmitBasisCss()

Parameters

None.

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

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 "BBjAppConfig clearOmitBasisCss()"
appConfig!.clearOmitBasisCss()
print "BBjAppConfig getOmitBasisCss: ",
print appConfig!.getOmitBasisCss()

See Also

BUI CSS Component Styles

BUI CSS API

BBjAppConfig::getOmitBasisCss()

BBjAppConfig::setOmitBasisCss()

BBjAppServer::getOmitBasisCss()

BBjAppServer::setOmitBasisCss()