Change 20070626-maxcarlson-X by [EMAIL PROTECTED] on 2007-06-26 17:50:23 PDT
    in /Users/maxcarlson/openlaszlo/legals-clean
    for http://svn.openlaszlo.org/openlaszlo/branches/legals

Summary: Add onready event handler to html tag

New Features:

Bugs Fixed: LPP-4197 - html component doesn't work correctly in swf runtime

Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: test/html.lzx - '<method event=' changed to '<handler name='. Added test for onready event that loads the site immediately.

html.lzx - Remove unused frame attribute. Add 'ready' attribute which is set to true once the iframe is ready to use. Event is sent when the iframe is ready and the component is initted, whichever comes first. Warn if setSrc() is called before the iframe is ready.

iframemanager.js - Set skiponload to false for early calls to setSrc (). Enhance debugging calls.

Tests: http://localhost:8080/legals-clean/lps/components/extensions/ test/html-swf.jsp and http://localhost:8080/legals-clean/lps/ components/extensions/test/html.lzx?lzr=dhtml&lzt=html both load the page immediately. The testcase under LPP-4197 loads when 'oninit' is changed to use the 'onready' event.

Files:
M      lps/components/extensions/test/html.lzx
M      lps/components/extensions/html.lzx
M      lps/includes/source/iframemanager.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070626- maxcarlson-X.tar

Reply via email to