Feature #48

Incremental bootstrap

Added by Koen Deforche about 13 years ago. Updated about 13 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


Add an alternate bootstrap method, next to the current one.

This bootstrap method first renders as plain HTML, and when JavaScript/AJAX is available, upgrades to the AJAX version.

This address a number of issues/annoyances/improvements:

  • Support for google ads, and other things that are needed within the HTML page at load time
  • Requires only 1 round trip to render the page (even if only after the second request AJAX functionality becomes available)
  • Avoid IE problems with loading stylesheets dynamically

The implementation would require that:

  • createAppliation() will have a WEnvironment that indicates no support for JavaScript or AJAX
  • We add a virtual void WWidget::enableJavaScript() method which allows a widget to react to the fact that AJAX is available
  • The built-in widgets need to react properly, including taking into account DomElement wrapped buttons.

Updated by Koen Deforche about 13 years ago

This relates (and probably replaces) the hybrid bootstrap method originally proposed by Anthony roger Buck.

At least it addresses the same issues as there is no more need for the automatic refresh which is not standards compliant XHTML inside a tag.


Updated by Koen Deforche about 13 years ago

  • Status changed from New to Closed

Implemented in latest git (and being tested on

This bootstrap can be enabled using the setting.

Also available in: Atom PDF