[Laszlo-checkins] r11901 - openlaszlo/trunk/WEB-INF/lps/lfc/data

jcrowley@openlaszlo.org jcrowley at openlaszlo.org
Wed Nov 26 10:28:00 PST 2008


Author: jcrowley
Date: 2008-11-26 10:27:54 -0800 (Wed, 26 Nov 2008)
New Revision: 11901

Modified:
   openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDatapointer.lzs
Log:
Change 20081125-laszlo-0 by laszlo at T43-L3XEXMW on 2008-11-25 08:18:22 EST
    in /home/laszlo/src/svn/openlaszlo/trunk-grayfox
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Update deprecated method in LzUnit example 4

New Features:

Bugs Fixed: LPP-7199 - Update deprecated method in LzUnit example 4

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

Documentation:

Release Notes:

Details: Changed cn.setData( val ) to
    cn.setAttribute('data', val ) in LzDatapointer.lzs
    to bring the code up to date and eliminate the
    warning.

Tests: Run docs/src/developers/programs/lzunit-$4.lzx
    There should be no warnings about using deprecated
    setData(), and it should still work.



Modified: openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDatapointer.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDatapointer.lzs	2008-11-26 18:09:18 UTC (rev 11900)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDatapointer.lzs	2008-11-26 18:27:54 UTC (rev 11901)
@@ -1073,7 +1073,7 @@
         for (var i:int = 0; i < cnodes.length; i++) {
             var cn /*:LzDataNodeMixin*/ = cnodes[i];
             if (cn.nodeType == LzDataElement.TEXT_NODE) {
-                cn.setData( val );
+                cn.$lzc$set_data(val); 
                 foundit = true;
                 break;
             }



More information about the Laszlo-checkins mailing list