Enhanced {@link org.w3c.dom.DocumentFragment} for web platform.
157158159160161162163164165166167
// fire page load event // window.trigger(UIAction.PageLoad); // create element cradle DocumentFragment cradle = document.createDocumentFragment(); // build page element page.load(cradle); // clear old page and append new page