Frameworks

Previous Next

It is possible to use different HTML, CSS and JavaScript frameworks within your web application. Two frameworks are shipped with the product:

jQuery UI

Bootstrap

By default, the jQuery UI framework is used. It is however easy to switch to the Bootstrap framework. Simply change the Framework publication property in the Web Designer publication configuration. The Framework property can have one of the following values:

Framework

Explanation

auto

Automatic detection of available framework

jquery-ui

Use jQuery UI framework when available

bootstrap

Use Bootstrap framework when available

none

Do not use a framework

If the Framework property is set to auto, the web application will try to detect automatically which framework is present. If the following line is present in the initial document, it will detect the bootstrap framework and automatically add the corresponding CSS file:

<script type="text/javascript" src="js/bootstrap.js"></script>

 

It is possible to use multiple frameworks at the same time. If the bootstrap and the jquery-ui frameworks are both present, the bootstrap framework will have preference.

The HTML that is required for a control can differ per framework. The differences are implemented in the file "usoft.ui.frameworks.js".

See Also

The Web Designer Stack

Publication Configurations

Active Web Browsers