Maybe
if (this.html && ! this.src) {
LzTimeKernel.setTimeout.setTimeout(function ()
{lz.embed.iframemanager.setHTML("' + this.iframeid + '","' + this.html +
'")}, 500);
}
On Sun, Oct 10, 2010 at 1:08 PM, Henry Minsky <[email protected]>wrote:
>
>
>
> I just noticed there's a bug in that fix for lpp-9431, setting the initial
> html value for the <html> view.
>
> It doesn't compile in swf10 due to setTimeout not being a swf10 built-in. I
> noticed this when ant tried to rebuild
> the explorer-nav.lzx SOLO app in swf10.
>
> Would a call to LzTimeKernel.setTimeout be the right thing to use?
>
>
>
> solo-compile-file:
> [echo] Compiling explore-nav.lzx
> [echo] arg: --runtime=swf10 explore-nav.lzx
> [echo] Using LPS_HOME: /Users/hqm/openlaszlo/trunk3
> [java] Compiling: explore-nav.lzx to explore-nav.swf10.swf
> [java] compiler output is Loading configuration file
> /Users/hqm/openlaszlo/trunk3/WEB-INF/frameworks/flex-config.xml
> [java]
> [java] Compilation errors occurred:
> [java] org.openlaszlo.sc.CompilerError: extensions/html.lzx: 350:
> Error: Call to a possibly undefined method setTimeout, in line:
> setTimeout('lz.embed.iframemanager.setHTML("' + this.iframeid + '","' +
> this.html + '")', 500)
> [java]
> [java] Java Result: 2
> [echo] build.url is http://svn.openlaszlo.org/openlaszlo/trunk
> [echo] dont-need-svn-info is true
>
>
> --
> Henry Minsky
> Software Architect
> [email protected]
>
>
>
--
Henry Minsky
Software Architect
[email protected]