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.
Actions