Change 20100507-maxcarlson-p by [email protected] on 2010-05-07 18:21:42 PDT in /Users/maxcarlson/openlaszlo/trunk-clean for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Allow DHTML LFC to be loaded asynchronously. Bugs Fixed: LPP-8988 - Fix DHTML embedding to allow asynchronous loading of the LFC Technical Reviewer: hminsky QA Reviewer: ptw Release Notes: lz.embed.lfc() can be called from the page body, and once loaded will start the application. Details: LaszloView - Update docs on context attribute and oncontext event. html-response, embed-body - Move LFC loading to deferred script in body of page to prevent blocking. embednew - Use __dhtmlLoadLibrary() for all scripts. Add callback to __dhtmlLoadLibrary(), and use to continue queued app instantiation after the LFC loads. dev-console.html - Add LFC include. dev-console.lzx - Rebuild dev-console apps. build.xml - Don't concatenate the LFC to dec-console.lzx.js, instead copy a DHTML LFC. /lps/includes/lfc/LFCdhtml.js - Add copy of the LFC. Tests: Dev console continues to work as before. Files: M WEB-INF/lps/lfc/views/LaszloView.lzs M WEB-INF/lps/templates/html-response_jp.xslt M WEB-INF/lps/templates/embed-body_jp.xslt M WEB-INF/lps/templates/html-response.xslt M WEB-INF/lps/templates/embed-body.xslt M lps/includes/source/embednew.js M lps/admin/dev-console.html M lps/admin/dev-console.lzx.js M lps/admin/dev-console.lzx.swf M lps/admin/build.xml A lps/admin/lps/includes A lps/admin/lps/includes/lfc A lps/admin/lps/includes/lfc/LFCdhtml.js Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20100507-maxcarlson-p.tar
