[Laszlo-checkins] r10708 - openlaszlo/trunk/WEB-INF/lps/lfc/data
hqm@openlaszlo.org
hqm at openlaszlo.org
Mon Aug 18 10:48:54 PDT 2008
Author: hqm
Date: 2008-08-18 10:48:51 -0700 (Mon, 18 Aug 2008)
New Revision: 10708
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs
openlaszlo/trunk/WEB-INF/lps/lfc/data/LzParsedPath.lzs
Log:
Change 20080818-hqm-o by hqm at badtzmaru on 2008-08-18 11:04:39 EDT
in /Users/hqm/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: fix for amazon demo for swf9
New Features:
Bugs Fixed:
Technical Reviewer: andre
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
In the amazon demo in swf9, when you click "add new address" there
are runtime errors that "onDocumentChange" , onerror , and ontimeout
are not defined on AnonDataset. LzDatapointer.setDataContext() expects
these fields to be around.
This declares these events.
Tests:
run amazon demo in swf9, click "add a new address" in the Checkout tab,
don't get runtime error in debug player.
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs 2008-08-18 15:08:30 UTC (rev 10707)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs 2008-08-18 17:48:51 UTC (rev 10708)
@@ -134,12 +134,12 @@
/** Sent when the dataset's request results in an error.
* @lzxtype event
*/
-var onerror = LzDeclaredEvent;
+var onerror:LzDeclaredEventClass = LzDeclaredEvent;
/** Sent when the request made by the dataset times out.
* @lzxtype event
*/
-var ontimeout = LzDeclaredEvent;
+var ontimeout:LzDeclaredEventClass = LzDeclaredEvent;
/** The numer of milliseconds to wait before the request times out, and an ontimeout event is sent.
* @lzxtype Number
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/data/LzParsedPath.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/data/LzParsedPath.lzs 2008-08-18 15:08:30 UTC (rev 10707)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/data/LzParsedPath.lzs 2008-08-18 17:48:51 UTC (rev 10708)
@@ -359,7 +359,23 @@
*/
var pp:LzParsedPath = null;
+
/**
+ * @access private
+ */
+ var onDocumentChange :LzDeclaredEventClass = LzDeclaredEvent;
+
+ /**
+ * @access private
+ */
+ var onerror :LzDeclaredEventClass = LzDeclaredEvent;
+
+ /**
+ * @access private
+ */
+ var ontimeout :LzDeclaredEventClass = LzDeclaredEvent;
+
+ /**
* TODO: [20080321-anba] Where is this property used? Can it be removed?
*
* @access private
More information about the Laszlo-checkins
mailing list