Author: hqm
Date: 2007-08-08 10:06:26 -0700 (Wed, 08 Aug 2007)
New Revision: 5966
Modified:
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/data/LzHTTPDataProvider.lzs
Log:
Change 20070808-hqm-4 by [EMAIL PROTECTED] on 2007-08-08 10:24:43 EDT
in /cygdrive/c/users/hqm/openlaszlo/wafflecone/WEB-INF/lps/lfc
for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone/WEB-INF/lps/lfc
Summary: minor fixes to dataprovider
New Features:
Bugs Fixed: LPP-4448
Bug: LPP-4448
Technical Reviewer: pkang
QA Reviewer: max
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
remove call in doRequest to send event status on datarequest in loading state
fix typo setRequestErrorError
Tests:
Modified:
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/data/LzHTTPDataProvider.lzs
===================================================================
--- openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/data/LzHTTPDataProvider.lzs
2007-08-08 14:53:09 UTC (rev 5965)
+++ openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/data/LzHTTPDataProvider.lzs
2007-08-08 17:06:26 UTC (rev 5966)
@@ -184,7 +184,7 @@
- dreq.setAttribute( "status", "loading" );
+ dreq.status = "loading";
//Debug.write("calling tloader.open", proxied ? "POST" : dreq.method,
url, "dreq.method=", dreq.method);
tloader.open ( proxied ? "POST" : dreq.method, url, /* username */
null, /* password */ null);
tloader.send (/* content */ lzpostbody);
@@ -225,7 +225,7 @@
var content = null;
if (data == null) {
- this.setRequestErrorError(dreq, "client could not parse XML from
server");
+ this.setRequestError(dreq, "client could not parse XML from
server");
dreq.onstatus.sendEvent( dreq );
return;
}
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins