[Laszlo-checkins] r12247 - openlaszlo/trunk/docs/src/developers/programs

bargull@openlaszlo.org bargull at openlaszlo.org
Sat Dec 27 07:24:28 PST 2008


Author: bargull
Date: 2008-12-27 07:24:25 -0800 (Sat, 27 Dec 2008)
New Revision: 12247

Modified:
   openlaszlo/trunk/docs/src/developers/programs/databinding-$2.lzx
Log:
Change 20081227-bargull-6Z3 by bargull at dell--p4--2-53 on 2008-12-27 16:21:39
    in /home/Admin/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: fix data-binding example

New Features:

Bugs Fixed: LPP-7526

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

Documentation:

Release Notes:

Details:
Reference through "menu" was dereferenced to "_root.menu" instead of "canvas.menu", changed to use explicit reference.
    

Tests:



Modified: openlaszlo/trunk/docs/src/developers/programs/databinding-$2.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/databinding-$2.lzx	2008-12-27 15:23:52 UTC (rev 12246)
+++ openlaszlo/trunk/docs/src/developers/programs/databinding-$2.lzx	2008-12-27 15:24:25 UTC (rev 12247)
@@ -2,7 +2,7 @@
 <canvas width="100%" height="400">
   <dataset name="menu" src="http://www.w3schools.com/xml/simple.xml" request="true"/>
   <simplelayout axis="y"/>
-  <button onclick="t.setAttribute('text', menu.serialize())">Show XML data </button>
+  <button onclick="t.setAttribute('text', canvas.menu.serialize())">Show XML data </button>
   <inputtext multiline="true" width="${canvas.width}" bgcolor="0xa0a0a0" id="t" height="300"/>
 </canvas>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************



More information about the Laszlo-checkins mailing list