[Laszlo-dev] For Review: Change 20070904-maxcarlson-2 Summary: Add onready event to notify applications when the <html/> is ready

Max Carlson max at openlaszlo.org
Tue Sep 4 17:32:17 PDT 2007


Change 20070904-maxcarlson-2 by maxcarlson at plastik on 2007-09-04  
17:22:03 PDT
     in /Users/maxcarlson/openlaszlo/legals
     for http://svn.openlaszlo.org/openlaszlo/branches/legals

Summary: Add onready event to notify applications when the <html/> is  
ready

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: Add ready attribute, onready event which is fired once the  
iframe initializes.  setSrc() remembers URLs when called early.   
Update the position, bring to front and/or call setSrc() for early  
calls in setiframeid().

Tests: Updated example based on LPP-4197 that uses the <html/> API  
properly

<canvas debug="true">
     <include href="extensions/html.lzx"/>
     <class name="browser" extends="window" resizable="true"  
bgcolor="silver">
         <html name="htmlview" widthoffset="${-19}" heightoffset="$ 
{-74}" xoffset="${7}" yoffset="${53}" visible="true"  
onready="this.setSrc('http://w3.org');"/>
     </class>
     <browser width="500" height="500" x="10" y="10"/>
</canvas>

Files:
M      lps/components/extensions/html.lzx

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070904- 
maxcarlson-2.tar


More information about the Laszlo-dev mailing list