Approved, tested with swf8/9 and dhtml (Firefox + IE).


Not related to this change, but worth to note as a problem:
When I loaded the test-app with "http://localhost/trunk/lps/components/extensions/test/html.lzx?lzr=swf8&debug=true"; and tried to drag the window-component around, FF3 crashed on my machine. This did not happen when I loaded the app through "http://localhost/trunk/lps/components/extensions/test/html-swf.jsp";.

On 1/15/2009 5:49 AM, Max Carlson wrote:
Change 20090114-maxcarlson-Q by [email protected] on 2009-01-14 20:43:59 PST
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: UPDATED: Provide an API on the html component to call JavaScript methods in the iframe

Bugs Fixed: LPP-7595 - Provide a callMethod API on the html component to call JavaScript methods in the iframe

Technical Reviewer: [email protected], ptw
QA Reviewer: [email protected]
Doc Reviewer: liorio

Details: html.lzx - Add callJavascript() and documentation for scrollTo().

iframemanager.js - Add implementation of callJavascript().

test/html.lzx - Add tests for scrollTo() and callJavascript()

test/html-callmethod.lzx - Testcase for html method callbacks

test/html-test.html - HTML page loaded by html.lzx and html-callmethod.lzx


Tests: test-callmethod.lzx runs consistently across all runtimes.

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

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090114-maxcarlson-Q.tar


Reply via email to