[Laszlo-checkins] r8952 - openlaszlo/trunk/WEB-INF/lps/templates

hqm@openlaszlo.org hqm at openlaszlo.org
Thu May 1 08:49:10 PDT 2008


Author: hqm
Date: 2008-05-01 08:49:09 -0700 (Thu, 01 May 2008)
New Revision: 8952

Modified:
   openlaszlo/trunk/WEB-INF/lps/templates/html-response.xslt
   openlaszlo/trunk/WEB-INF/lps/templates/html-response_jp.xslt
Log:
Change 20080501-hqm-Z by hqm at badtzmaru.home on 2008-05-01 11:47:21 EDT
    in /Users/hqm/openlaszlo/trunk5
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: disable "unsupported browser" dialog for DHTML wrapper page

New Features:

Bugs Fixed: nexb #249

Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:

https://nexb.laszlosystems.com/trac/main/ticket/249    

Tests:

run lzpix dhtml app in Opera, (macosx), see no warning dialog



Modified: openlaszlo/trunk/WEB-INF/lps/templates/html-response.xslt
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/templates/html-response.xslt	2008-05-01 14:40:30 UTC (rev 8951)
+++ openlaszlo/trunk/WEB-INF/lps/templates/html-response.xslt	2008-05-01 15:49:09 UTC (rev 8952)
@@ -99,7 +99,7 @@
         <xsl:choose>
           <xsl:when test="/canvas/@runtime = 'dhtml'">
             <script type="text/javascript">
-              Lz.dhtmlEmbedLFC('<xsl:value-of select="/canvas/request/@lps"/>/<xsl:value-of select="/canvas/@lfc"/>');
+              Lz.dhtmlEmbedLFC('<xsl:value-of select="/canvas/request/@lps"/>/<xsl:value-of select="/canvas/@lfc"/>',true);
             </script>  
           </xsl:when>
         </xsl:choose>
@@ -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"/>', 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"/>'},true);
               Lz.<xsl:value-of select="/canvas/@id"/>.onload = function loaded() {
                 var s = document.getElementById('lzsplash');
                 if (s) LzSprite.prototype.__discardElement(s);
@@ -155,6 +155,6 @@
   </xsl:template>
 </xsl:stylesheet>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-     * Copyright 2001-2006 Laszlo Systems, Inc.  All Rights Reserved.              *
+     * Copyright 2001-2006, 2008 Laszlo Systems, Inc.  All Rights Reserved.              *
      * Use is subject to license terms.                                            *
      * X_LZ_COPYRIGHT_END ****************************************************** -->

Modified: openlaszlo/trunk/WEB-INF/lps/templates/html-response_jp.xslt
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/templates/html-response_jp.xslt	2008-05-01 14:40:30 UTC (rev 8951)
+++ openlaszlo/trunk/WEB-INF/lps/templates/html-response_jp.xslt	2008-05-01 15:49:09 UTC (rev 8952)
@@ -97,7 +97,7 @@
         <xsl:choose>
           <xsl:when test="/canvas/@runtime = 'dhtml'">
             <script type="text/javascript">
-              Lz.dhtmlEmbedLFC('<xsl:value-of select="/canvas/request/@lps"/>/<xsl:value-of select="/canvas/@lfc"/>');
+              Lz.dhtmlEmbedLFC('<xsl:value-of select="/canvas/request/@lps"/>/<xsl:value-of select="/canvas/@lfc"/>', true);
             </script>  
           </xsl:when>
         </xsl:choose>
@@ -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"/>', 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"/>'}, true);
               Lz.<xsl:value-of select="/canvas/@id"/>.onload = function loaded() {
                 var s = document.getElementById('lzsplash');
                 if (s) LzSprite.prototype.__discardElement(s);
@@ -153,6 +153,6 @@
   </xsl:template>
 </xsl:stylesheet>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-     * Copyright 2001-2006 Laszlo Systems, Inc.  All Rights Reserved.              *
+     * Copyright 2001-2006, 2008 Laszlo Systems, Inc.  All Rights Reserved.              *
      * Use is subject to license terms.                                            *
      * X_LZ_COPYRIGHT_END ****************************************************** -->



More information about the Laszlo-checkins mailing list