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

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 "BBjApplication ",appName$," getOmitBasisCss: ",
        print app!.getOmitBasisCss()
    next i
endif

See Also

BUI CSS Component Styles

BUI CSS API

BBjAppServer::setOmitBasisCss()

BBjAppConfig::setOmitBasisCss()