[Laszlo-checkins] r12799 - in openlaszlo/trunk: WEB-INF/lps/lfc/data WEB-INF/lps/lfc/helpers WEB-INF/lps/lfc/views lps/components/base lps/components/extensions lps/components/lz lps/components/rpc lps/components/utils/states

lou@openlaszlo.org lou at openlaszlo.org
Mon Feb 9 05:58:53 PST 2009


Author: lou
Date: 2009-02-09 05:57:18 -0800 (Mon, 09 Feb 2009)
New Revision: 12799

Modified:
   openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataNode.lzs
   openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs
   openlaszlo/trunk/WEB-INF/lps/lfc/data/LzLazyReplicationManager.lzs
   openlaszlo/trunk/WEB-INF/lps/lfc/helpers/LzDataSelectionManager.lzs
   openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs
   openlaszlo/trunk/WEB-INF/lps/lfc/views/LzScript.lzs
   openlaszlo/trunk/lps/components/base/basecombobox.lzx
   openlaszlo/trunk/lps/components/base/basetabs.lzx
   openlaszlo/trunk/lps/components/base/basetree.lzx
   openlaszlo/trunk/lps/components/base/style.lzx
   openlaszlo/trunk/lps/components/extensions/drawview.lzx
   openlaszlo/trunk/lps/components/lz/combobox.lzx
   openlaszlo/trunk/lps/components/lz/focusoverlay.lzx
   openlaszlo/trunk/lps/components/lz/list.lzx
   openlaszlo/trunk/lps/components/lz/radio.lzx
   openlaszlo/trunk/lps/components/lz/tabs.lzx
   openlaszlo/trunk/lps/components/lz/tabslider.lzx
   openlaszlo/trunk/lps/components/lz/tree.lzx
   openlaszlo/trunk/lps/components/lz/windowpanel.lzx
   openlaszlo/trunk/lps/components/rpc/sessionrpc.lzx
   openlaszlo/trunk/lps/components/rpc/webapprpc.lzx
   openlaszlo/trunk/lps/components/utils/states/dragstate.lzx
Log:
Change 20090209-lou-8 by lou at loumac.local on 2009-02-09 09:47:25 AST
    in /Users/lou/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Make the canvas of all doc examples width="100%"

Bugs Fixed: LPP-7314

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

Details: make width="100%", or don't specify width so the examples
default to 100%

Tests: visual verify



Modified: openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataNode.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataNode.lzs	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataNode.lzs	2009-02-09 13:57:18 UTC (rev 12799)
@@ -1,6 +1,6 @@
 /**
   *
-  * @copyright Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.
+  * @copyright Copyright 2001-2009 Laszlo Systems, Inc.  All Rights Reserved.
   *            Use is subject to license terms.
   *
   * @access public
@@ -13,7 +13,7 @@
   * that represent OpenLaszlo's hierarchical data format.</p>
   * 
   * <example>
-  * &lt;canvas width="300" height="300"&gt;
+  * &lt;canvas height="300"&gt;
   *   &lt;simplelayout axis="y"/&gt;
   * 
   *   &lt;text width="300" height="250" bgcolor="silver" 

Modified: openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs	2009-02-09 13:57:18 UTC (rev 12799)
@@ -52,7 +52,7 @@
   * The example below makes a request of the cgi script on Laszlo's website that serves up weather information in xml form.</p>
   * 
   * <example title="Making a request using a dataset">
-  * <programlisting>&lt;canvas height="250" width="800" debug="true"&gt;
+  * <programlisting>&lt;canvas height="250" debug="true"&gt;
   *  &lt;debug y="100"/&gt; 
   *  &lt;dataset type="http" name="weatherdata"
   *           src="http://www.laszlosystems.com/cgi-pub/weather.cgi"/&gt; 

Modified: openlaszlo/trunk/WEB-INF/lps/lfc/data/LzLazyReplicationManager.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/data/LzLazyReplicationManager.lzs	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/data/LzLazyReplicationManager.lzs	2009-02-09 13:57:18 UTC (rev 12799)
@@ -1,6 +1,6 @@
 /**
   *
-  * @copyright Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.
+  * @copyright Copyright 2001-2009 Laszlo Systems, Inc.  All Rights Reserved.
   *            Use is subject to license terms.
   *
   * @access public

Modified: openlaszlo/trunk/WEB-INF/lps/lfc/helpers/LzDataSelectionManager.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/helpers/LzDataSelectionManager.lzs	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/helpers/LzDataSelectionManager.lzs	2009-02-09 13:57:18 UTC (rev 12799)
@@ -1,6 +1,6 @@
 /**
   *
-  * @copyright Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.
+  * @copyright Copyright 2001-2009 Laszlo Systems, Inc.  All Rights Reserved.
   *            Use is subject to license terms.
   *
   * @affects lzdataselectionmanager
@@ -26,7 +26,7 @@
   * select a range. To modify this behavior, you can extend the <classname>lz.dataselectionmanager</classname> and implement
   * <method>isRangeSelect</method> and <method>isMultiSelect</method>.</p>
   * <example class="program" id="datasenectionmgr">
-  * &lt;canvas width="200" height="200"&gt;
+  * &lt;canvas height="200"&gt;
   *   &lt;dataset name="mydata"&gt;
   *     &lt;list&gt;
   *       &lt;item&gt;tricycle&lt;/item&gt;

Modified: openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs	2009-02-09 13:57:18 UTC (rev 12799)
@@ -23,7 +23,7 @@
   * The following code shows one view nested inside another:</p>
   *   
   * <example class="code">
-  * &lt;canvas height="50" width="500"&gt;
+  * &lt;canvas height="50"&gt;
   *   &lt;view width="50" height="50" bgcolor="red"&gt;
   *     &lt;view width="30" height="30" bgcolor="blue"/&gt;
   *   &lt;/view&gt; 

Modified: openlaszlo/trunk/WEB-INF/lps/lfc/views/LzScript.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/views/LzScript.lzs	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/views/LzScript.lzs	2009-02-09 13:57:18 UTC (rev 12799)
@@ -1,5 +1,5 @@
 /**
- * @copyright Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.
+ * @copyright Copyright 2001-2009 Laszlo Systems, Inc.  All Rights Reserved.
  *            Use is subject to license terms.
  *
  * @access public
@@ -25,7 +25,7 @@
  * <code>sneaky</code> succeeds.</p>
  *
  * <example>
- * &lt;canvas debug="true" height="200" width="400"&gt;
+ * &lt;canvas debug="true" height="200"&gt;
  *   &lt;debug y="5%" height="90%" /&gt;
  *   &lt;script&gt;
  *   &lt;![CDATA[

Modified: openlaszlo/trunk/lps/components/base/basecombobox.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basecombobox.lzx	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/lps/components/base/basecombobox.lzx	2009-02-09 13:57:18 UTC (rev 12799)
@@ -1,5 +1,5 @@
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.              *
+* Copyright 2001-2009 Laszlo Systems, Inc.  All Rights Reserved.              *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->
 <!-- @LZX_VERSION@                                                         -->
@@ -692,7 +692,7 @@
             attributes.</p>
             
             <example title="custom appearance and font for a combobox">
-            &lt;canvas width="200" height="100"&gt;
+            &lt;canvas height="100"&gt;
               &lt;font name="smallfont" src="verity/verity9.ttf"/&gt;
             
               &lt;class name="minicombo" extends="basecombobox" font="smallfont"

Modified: openlaszlo/trunk/lps/components/base/basetabs.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basetabs.lzx	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/lps/components/base/basetabs.lzx	2009-02-09 13:57:18 UTC (rev 12799)
@@ -111,7 +111,7 @@
               in the 'tabclass' attribute of basetabpane, tabpane, basetabs, and
               tabs classes. Basetabs uses this class as its default 'tabclass'.</para>
              <example><![CDATA[
-<canvas width="150" height="75">
+<canvas height="75">
   <include href="base"/>
 
   <class name="aquatab" extends="basetab" 
@@ -217,7 +217,7 @@
             <sgmltag class="element" role="lz.basetabs">&lt;basetabs&gt;</sgmltag> component.</p>
             
             <example title="custom basetabsbar">
-            &lt;canvas width="150" height="75"&gt;
+            &lt;canvas height="75"&gt;
               &lt;include href="base"/&gt;
             
               &lt;class name="aquatab" extends="basetab" 
@@ -442,7 +442,7 @@
             <classname>basetabscontent</classname>.</note>
             
             <example title="parent and immediate parent of basetabpane">
-            &lt;canvas width="500" height="140" debug="true"&gt;
+            &lt;canvas height="140" debug="true"&gt;
               &lt;debug x="150" y="10"/&gt;
               
               &lt;include href="base"/&gt;
@@ -541,7 +541,7 @@
                   <classname>contentclass</classname></p>
             
             <example title="custom basetabscontent with borders">
-            &lt;canvas width="150" height="75"&gt;
+            &lt;canvas height="75"&gt;
               &lt;include href="base"/&gt;
             
               &lt;class name="aquatab" extends="basetab" 
@@ -789,7 +789,7 @@
             items.</p>
             
             <example title="introduction to basetabs">
-            &lt;canvas width="150" height="75"&gt;
+            &lt;canvas height="75"&gt;
               &lt;include href="base"/&gt;
             
               &lt;class name="aquatab" extends="basetab" width="40" height="20" 
@@ -838,7 +838,7 @@
             <classname>basetabscontent</classname>.</p>
             
             <example title="modifying the basetabs look">
-            &lt;canvas width="150" height="75"&gt;
+            &lt;canvas height="75"&gt;
               &lt;include href="base"/&gt;
               
               &lt;class name="mytab" extends="basetab" width="40" height="20" bgcolor="lime"&gt;

Modified: openlaszlo/trunk/lps/components/base/basetree.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basetree.lzx	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/lps/components/base/basetree.lzx	2009-02-09 13:57:18 UTC (rev 12799)
@@ -697,7 +697,7 @@
             </p>
 
             <example title="Basetree subclass with echoed text node">
-            &lt;canvas width="200" height="200"&gt;
+            &lt;canvas height="200"&gt;
               &lt;include href="base/basetree.lzx"/&gt;
             
               &lt;class name="echotree" extends="basetree"&gt;
@@ -740,7 +740,7 @@
 
 </library>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.              *
+* Copyright 2001-2009 Laszlo Systems, Inc.  All Rights Reserved.              *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->
 <!-- @LZX_VERSION@                                                         -->

Modified: openlaszlo/trunk/lps/components/base/style.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/style.lzx	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/lps/components/base/style.lzx	2009-02-09 13:57:18 UTC (rev 12799)
@@ -164,7 +164,7 @@
         define a style with <code>isdefault="true"</code>.</p>
         
         <example title="Simple Style Example">
-        &lt;canvas height="60" width="200" &gt;
+        &lt;canvas height="60"&gt;
           &lt;greenstyle name="mystyle" isdefault="true"/&gt;
           &lt;checkbox&gt;Tell me more&lt;/checkbox&gt;
           &lt;button&gt;Submit&lt;/button&gt;
@@ -250,7 +250,7 @@
 
 </library>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.              *
+* Copyright 2001-2009 Laszlo Systems, Inc.  All Rights Reserved.              *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->
 <!-- @LZX_VERSION@                                                         -->

Modified: openlaszlo/trunk/lps/components/extensions/drawview.lzx
===================================================================
--- openlaszlo/trunk/lps/components/extensions/drawview.lzx	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/lps/components/extensions/drawview.lzx	2009-02-09 13:57:18 UTC (rev 12799)
@@ -23,7 +23,7 @@
         
         <example><programlisting class="code">
         &lt;canvas&gt;
-            &lt;drawview width="200" height="200"&gt;
+            &lt;drawview height="200"&gt;
                 &lt;handler name="oncontext"&gt;
                     this.moveTo(100, 100);
                     this.lineTo(100, 200);

Modified: openlaszlo/trunk/lps/components/lz/combobox.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/combobox.lzx	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/lps/components/lz/combobox.lzx	2009-02-09 13:57:18 UTC (rev 12799)
@@ -78,7 +78,7 @@
               attributes.</p>
 
             <example>
-              &lt;canvas width="200" height="100"&gt;
+              &lt;canvas height="100"&gt;
               &lt;combobox id="cbox" x="5" y="5" width="130" editable="false"&gt;
               &lt;textlistitem text="Dark Blue"  value="0x000055"/&gt;
               &lt;textlistitem text="Turquoise"  value="0x66dddd"/&gt;
@@ -98,7 +98,7 @@
             </p>
 
             <example>
-              &lt;canvas width="200" height="130"&gt;
+              &lt;canvas height="130"&gt;
               &lt;dataset name="items"&gt;
               &lt;item value="item1"&gt;item one&lt;/item&gt;
               &lt;item value="item2"&gt;item two&lt;/item&gt;
@@ -121,7 +121,7 @@
               below:</p>
 
             <example>
-              &lt;canvas width="200" height="130"&gt;
+              &lt;canvas height="130"&gt;
               &lt;class name="mylistitem" extends="listitem" width="100%" height="20" &gt;
               &lt;attribute name="text" value="" type="string"/&gt;
               &lt;!-- place a red square in the left hand side of mylistitem --&gt;

Modified: openlaszlo/trunk/lps/components/lz/focusoverlay.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/focusoverlay.lzx	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/lps/components/lz/focusoverlay.lzx	2009-02-09 13:57:18 UTC (rev 12799)
@@ -88,7 +88,7 @@
             space will activate the button.
             </p>
             <example title="Custom Focus Indicator">
-            &lt;canvas width="200" height="120" &gt;
+            &lt;canvas height="120" &gt;
               &lt;class name="myfocusclass" extends="basefocusview"&gt;
                 &lt;view bgcolor="blue" y="${parent.height+1}" height="2" width="${parent.width}"/&gt;
               &lt;/class&gt;

Modified: openlaszlo/trunk/lps/components/lz/list.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/list.lzx	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/lps/components/lz/list.lzx	2009-02-09 13:57:18 UTC (rev 12799)
@@ -342,7 +342,7 @@
               <classname>scrollbar</classname> will be provided.</p>
 
             <example>
-              &lt;canvas width="200" height="100"&gt;
+              &lt;canvas height="100"&gt;
               &lt;list x="10" y="10"&gt;
               &lt;textlistitem text="item 1" value="1" selected="true"/&gt;
               &lt;textlistitem text="item 2" value="2"/&gt;

Modified: openlaszlo/trunk/lps/components/lz/radio.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/radio.lzx	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/lps/components/lz/radio.lzx	2009-02-09 13:57:18 UTC (rev 12799)
@@ -74,7 +74,7 @@
             </p>
             
             <example>
-            &lt;canvas width="200" height="100"&gt;
+            &lt;canvas height="100"&gt;
               &lt;radiogroup id="group1"&gt;
                 &lt;radiobutton value="1" text="one"/&gt;
                 &lt;radiobutton value="2" text="two" selected="true"/&gt;
@@ -91,7 +91,7 @@
             </p>
             
             <example>
-            &lt;canvas width="200" height="100"&gt;
+            &lt;canvas height="100"&gt;
               &lt;radiogroup height="60" layout="class:wrappinglayout; axis:y"&gt;
                 &lt;radiobutton value="1" text="one"/&gt;
                 &lt;radiobutton value="2" text="two"/&gt;
@@ -193,7 +193,7 @@
     </class>
 </library>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.              *
+* Copyright 2001-2009 Laszlo Systems, Inc.  All Rights Reserved.              *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->
 <!-- @LZX_VERSION@                                                         -->

Modified: openlaszlo/trunk/lps/components/lz/tabs.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/tabs.lzx	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/lps/components/lz/tabs.lzx	2009-02-09 13:57:18 UTC (rev 12799)
@@ -126,7 +126,7 @@
                 </p>
                 <example>
                     <![CDATA[
-<canvas width="150" height="100">
+<canvas height="100">
   <include href="lz" />
 
   <basetabs x="10" y="10" tabclass="tab">
@@ -206,7 +206,7 @@
                 </p>
                 <example>
                     <![CDATA[
-<canvas width="400" height="100">
+<canvas height="100">
   <include href="lz"/>
 
   <simplelayout axis="x" spacing="10"/>
@@ -325,7 +325,7 @@
                 </p>
                 <example>
                     <![CDATA[
-<canvas width="250" height="150" >
+<canvas height="150" >
   <include href="base"/>
 
   <simplelayout axis="y" spacing="5"/>
@@ -392,7 +392,7 @@
                 </p>
                 <example>
                     <![CDATA[
-<canvas width="450" height="100">
+<canvas height="100">
   <include href="lz"/>
   <simplelayout axis="x" spacing="10"/>
   
@@ -517,7 +517,7 @@
               is specified within the <tagname>tabs</tagname> tag.</p>
 
             <example>
-              &lt;canvas width="150" height="100"&gt;
+              &lt;canvas height="100"&gt;
               &lt;tabs&gt;
               &lt;tabpane text="one"&gt;
               &lt;button&gt;press one&lt;/button&gt;

Modified: openlaszlo/trunk/lps/components/lz/tabslider.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/tabslider.lzx	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/lps/components/lz/tabslider.lzx	2009-02-09 13:57:18 UTC (rev 12799)
@@ -77,7 +77,7 @@
                 </p>
                 <example>
                     <![CDATA[
-<canvas width="200" height="250">
+<canvas height="250">
   <tabslider width="150" x="10" y="10"
              height="200"
              spacing="2" slideduration="300">
@@ -97,7 +97,7 @@
                 </p>
                 <example>
                     <![CDATA[
-<canvas width="200" height="250">
+<canvas height="250">
   <tabslider width="150" x="10" y="10"
              height="200" mintabheight="40"
              spacing="2" slideduration="300">
@@ -118,7 +118,7 @@
 
 </library>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.              *
+* Copyright 2001-2009 Laszlo Systems, Inc.  All Rights Reserved.              *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->
 <!-- @LZX_VERSION@                                                         -->

Modified: openlaszlo/trunk/lps/components/lz/tree.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/tree.lzx	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/lps/components/lz/tree.lzx	2009-02-09 13:57:18 UTC (rev 12799)
@@ -180,7 +180,7 @@
               in tree as an example.</p>
 
             <example title="A lexical tree and a data replicated tree">
-              &lt;canvas width="450" height="250"&gt;
+              &lt;canvas height="250"&gt;
               &lt;include href="lz/tree.lzx"/&gt;
 
               &lt;dataset name="ancestors"&gt;

Modified: openlaszlo/trunk/lps/components/lz/windowpanel.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/windowpanel.lzx	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/lps/components/lz/windowpanel.lzx	2009-02-09 13:57:18 UTC (rev 12799)
@@ -298,7 +298,7 @@
               <classname>alert</classname>.</p>
 
             <example class="code" title="window panel">
-              &lt;canvas width="300" height="150"&gt;
+              &lt;canvas height="150"&gt;
               &lt;windowpanel x="10" y="10" width="200" height="100"
               title="windowpanel" closeable="true"&gt;
               &lt;text&gt;Hello&lt;/text&gt;
@@ -319,7 +319,7 @@
 
 </library>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.              *
+* Copyright 2001-2009 Laszlo Systems, Inc.  All Rights Reserved.              *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->
 <!-- @LZX_VERSION@                                                         -->

Modified: openlaszlo/trunk/lps/components/rpc/sessionrpc.lzx
===================================================================
--- openlaszlo/trunk/lps/components/rpc/sessionrpc.lzx	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/lps/components/rpc/sessionrpc.lzx	2009-02-09 13:57:18 UTC (rev 12799)
@@ -102,7 +102,7 @@
         javax.servlet.http.HttpSession</a> in the <a href="http://java.sun.com/products/servlet/2.3/javadoc/" shape="rect">Java Servlet API</a>
         documentation for details.</p>
         <example>
-    &lt;canvas width="800" height="475" debug="true"&gt;
+    &lt;canvas height="475" debug="true"&gt;
     
         &lt;debug x="300" y="20" width="500" height="400" /&gt;
         

Modified: openlaszlo/trunk/lps/components/rpc/webapprpc.lzx
===================================================================
--- openlaszlo/trunk/lps/components/rpc/webapprpc.lzx	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/lps/components/rpc/webapprpc.lzx	2009-02-09 13:57:18 UTC (rev 12799)
@@ -109,7 +109,7 @@
                     documentation for details.</p>
                 <example>
                     <![CDATA[
-    <canvas width="800" height="500" debug="true">
+    <canvas height="500" debug="true">
     
         <debug x="300" y="20" width="500" height="400" />
         

Modified: openlaszlo/trunk/lps/components/utils/states/dragstate.lzx
===================================================================
--- openlaszlo/trunk/lps/components/utils/states/dragstate.lzx	2009-02-09 13:56:29 UTC (rev 12798)
+++ openlaszlo/trunk/lps/components/utils/states/dragstate.lzx	2009-02-09 13:57:18 UTC (rev 12799)
@@ -52,7 +52,7 @@
         When the dragstate is applied, the view with the dragstate will follow the mouse.
         </p>
         <example class="program" id="dragstate-1" title="Simple use of a dragstate">
-        &lt;canvas width="200" height="100"&gt;
+        &lt;canvas height="100"&gt;
             &lt;view bgcolor="blue" width="20" height="20"
                   onmousedown="dragger.setAttribute('applied', true)" onmouseup="dragger.setAttribute('applied', false)"&gt;
                 &lt;dragstate name="dragger"/&gt;
@@ -61,7 +61,7 @@
         </example>
         
         <example class="program" id="dragstate-2" title="Horizontal drag">
-        &lt;canvas width="200" height="100"&gt;
+        &lt;canvas height="100"&gt;
             &lt;view bgcolor="red" width="20" height="20"
                   onmousedown="dragger.setAttribute('applied', true)" onmouseup="dragger.setAttribute('applied', false)"&gt;
                 &lt;dragstate name="dragger" drag_axis="x"/&gt;
@@ -71,7 +71,7 @@
         
         <example class="program" id="dragstate-3" 
             title="Horizontal drag with simple bounds checking">
-        &lt;canvas width="200" height="100"&gt;
+        &lt;canvas height="100"&gt;
             &lt;view bgcolor="red" width="20" height="20"
                   onmousedown="dragger.setAttribute('applied', true)" onmouseup="dragger.setAttribute('applied', false)"&gt;
                 &lt;dragstate name="dragger" drag_axis="x"
@@ -107,7 +107,7 @@
 
 </library>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.              *
+* Copyright 2001-2009 Laszlo Systems, Inc.  All Rights Reserved.              *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->
 <!-- @LZX_VERSION@                                                         -->



More information about the Laszlo-checkins mailing list