Author: hqm
Date: 2007-10-15 19:46:17 -0700 (Mon, 15 Oct 2007)
New Revision: 6856
Modified:
openlaszlo/trunk/WEB-INF/lps/templates/html-response.xslt
openlaszlo/trunk/WEB-INF/lps/templates/html-response_jp.xslt
Log:
Change 20071015-hqm-2 by [EMAIL PROTECTED] on 2007-10-15 22:43:03 EDT
in /cygdrive/c/users/hqm/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: remove canvas_debug flag from LFC wrapper xslt
New Features:
Bugs Fixed: LPP-4066
Technical Reviewer: max
QA Reviewer:
Doc Reviewer:
Documentation:
Release Notes:
Details:
This flag is superseded by the canvas XML "lfc" attribute which is computed by
the compiler in Canvas.java Canvas.getXML() method.
The DHTML embed wrapper already uses this value to fetch the LFC. So this
change is to remove the canvas_debug query arg from the xslt template file
for lzt=html
Tests:
the usual demo apps, in dhtml
Modified: openlaszlo/trunk/WEB-INF/lps/templates/html-response.xslt
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/templates/html-response.xslt 2007-10-16
02:36:23 UTC (rev 6855)
+++ openlaszlo/trunk/WEB-INF/lps/templates/html-response.xslt 2007-10-16
02:46:17 UTC (rev 6856)
@@ -134,7 +134,7 @@
<xsl:when test="/canvas/@runtime = 'dhtml'">
<div id="lzsplash" style="z-index: 10000000; top: 0; left: 0;
width: {$canvaswidth}; height: {$canvasheight}; position: fixed; display:
table"><p style="display: table-cell; vertical-align: middle;"><img
src="{/canvas/request/@lps}/lps/includes/spinner.gif" style="display: block;
margin: 20% auto"/></p></div>
<script type="text/javascript">
- Lz.dhtmlEmbed({url: '<xsl:value-of
select="/canvas/request/@url"/>?lzt=object<xsl:value-of
select="/canvas/request/@query_args"/>&_canvas_debug=<xsl:value-of
select="/canvas/@debug"/>', 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"/>'});
+ Lz.dhtmlEmbed({url: '<xsl:value-of
select="/canvas/request/@url"/>?lzt=object<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"/>'});
Lz.<xsl:value-of select="/canvas/@id"/>.onload = function
loaded() {
var s = document.getElementById('lzsplash');
if (s) LzSprite.prototype.__discardElement(s);
Modified: openlaszlo/trunk/WEB-INF/lps/templates/html-response_jp.xslt
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/templates/html-response_jp.xslt
2007-10-16 02:36:23 UTC (rev 6855)
+++ openlaszlo/trunk/WEB-INF/lps/templates/html-response_jp.xslt
2007-10-16 02:46:17 UTC (rev 6856)
@@ -132,7 +132,7 @@
<xsl:when test="/canvas/@runtime = 'dhtml'">
<div id="lzsplash" style="z-index: 10000000; top: 0; left: 0;
width: {$canvaswidth}; height: {$canvasheight}; position: fixed; display:
table"><p style="display: table-cell; vertical-align: middle;"><img
src="{/canvas/request/@lps}/lps/includes/spinner.gif" style="display: block;
margin: 20% auto"/></p></div>
<script type="text/javascript">
- Lz.dhtmlEmbed({url: '<xsl:value-of
select="/canvas/request/@url"/>?lzt=object<xsl:value-of
select="/canvas/request/@query_args"/>&_canvas_debug=<xsl:value-of
select="/canvas/@debug"/>', 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"/>'});
+ Lz.dhtmlEmbed({url: '<xsl:value-of
select="/canvas/request/@url"/>?lzt=object<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"/>'});
Lz.<xsl:value-of select="/canvas/@id"/>.onload = function
loaded() {
var s = document.getElementById('lzsplash');
if (s) LzSprite.prototype.__discardElement(s);
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins