Actions
Feature #48
closedIncremental bootstrap
Start date:
08/12/2009
Due date:
% Done:
0%
Estimated time:
Description
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 over 15 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 over 15 years ago
- Status changed from New to Closed
Implemented in latest git (and being tested on www.webtoolkit.eu/wt).
This bootstrap can be enabled using the setting.
Actions