BBjAppServer::setOmitBasisCss

Description

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

Syntax

Return Value

Method

void

setOmitBasisCss(boolean omitBasisCss)

Parameters

Variable

Description

omitBasisCss

A boolean indicating whether BUI apps 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 ' BBjAppServer::setOmitBasisCss

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
omitBasisCss! = appServer!.getOmitBasisCss()
appServer!.setOmitBasisCss(omitBasisCss!)
print "BBjAppServer setOmitBasisCss ",omitBasisCss!

See Also

BUI CSS Component Styles

BUI CSS API

BBjAppServer::getOmitBasisCss()