Author: max
Date: 2007-08-27 13:38:05 -0700 (Mon, 27 Aug 2007)
New Revision: 6256
Modified:
openlaszlo/branches/wafflecone/WEB-INF/lps/templates/app-console.xslt
openlaszlo/branches/wafflecone/WEB-INF/lps/templates/app-console_jp.xslt
Log:
Change 20070827-maxcarlson-j by [EMAIL PROTECTED] on 2007-08-27 11:06:18 PDT
in /Users/maxcarlson/openlaszlo/wafflecone
for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone
Summary: Avoid using an iframe for Flash apps in the dev console
New Features:
Bugs Fixed: LPP-4562 - LoadJS works differently in the dev console
Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Embed flash applications directly (using the code from
html-response.xslt) instead of using an iframe.
Tests: All applications run as before. See LPP-4562 for a testcase.
Modified: openlaszlo/branches/wafflecone/WEB-INF/lps/templates/app-console.xslt
===================================================================
--- openlaszlo/branches/wafflecone/WEB-INF/lps/templates/app-console.xslt
2007-08-27 20:18:45 UTC (rev 6255)
+++ openlaszlo/branches/wafflecone/WEB-INF/lps/templates/app-console.xslt
2007-08-27 20:38:05 UTC (rev 6256)
@@ -168,9 +168,9 @@
</xsl:when>
<xsl:otherwise>
- <iframe id="dhtml-application"
-
src="{/canvas/request/@url}?lzt=html{/canvas/request/@query_args}"
- style="width: {$canvaswidth}; height: {$canvasheight}" />
+ <script type="text/javascript">
+ Lz.swfEmbed({url: '<xsl:value-of
select="/canvas/request/@url"/>?lzt=swf<xsl:value-of
select="/canvas/request/@query_args"/>', bgcolor: '<xsl:value-of
select="/canvas/@bgcolor"/>', width: '<xsl:value-of select="/canvas/@width"/>',
height: '<xsl:value-of select="/canvas/@height"/>', id: '<xsl:value-of
select="/canvas/@id"/>', accessible: '<xsl:value-of
select="/canvas/@accessible"/>'});
+ </script>
</xsl:otherwise>
</xsl:choose>
Modified:
openlaszlo/branches/wafflecone/WEB-INF/lps/templates/app-console_jp.xslt
===================================================================
--- openlaszlo/branches/wafflecone/WEB-INF/lps/templates/app-console_jp.xslt
2007-08-27 20:18:45 UTC (rev 6255)
+++ openlaszlo/branches/wafflecone/WEB-INF/lps/templates/app-console_jp.xslt
2007-08-27 20:38:05 UTC (rev 6256)
@@ -168,9 +168,9 @@
</xsl:when>
<xsl:otherwise>
- <iframe id="dhtml-application"
-
src="{/canvas/request/@url}?lzt=html{/canvas/request/@query_args}"
- style="width: {$canvaswidth}; height: {$canvasheight}" />
+ <script type="text/javascript">
+ Lz.swfEmbed({url: '<xsl:value-of
select="/canvas/request/@url"/>?lzt=swf<xsl:value-of
select="/canvas/request/@query_args"/>', bgcolor: '<xsl:value-of
select="/canvas/@bgcolor"/>', width: '<xsl:value-of select="/canvas/@width"/>',
height: '<xsl:value-of select="/canvas/@height"/>', id: '<xsl:value-of
select="/canvas/@id"/>', accessible: '<xsl:value-of
select="/canvas/@accessible"/>'});
+ </script>
</xsl:otherwise>
</xsl:choose>
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins