Author: hqm
Date: 2007-11-29 13:27:27 -0800 (Thu, 29 Nov 2007)
New Revision: 7415
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs
Log:
Change 20071129-hqm-a by [EMAIL PROTECTED] on 2007-11-29 16:26:36 EST
in /cygdrive/c/users/hqm/openlaszlo/trunk/WEB-INF/lps/lfc
for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc
Summary: clean up of querytype and src setters in lzdataset
New Features:
Bugs Fixed: LPP-5141
Technical Reviewer: andre
QA Reviewer: pbr
Doc Reviewer:
Documentation:
Release Notes:
Details:
There are setters for the 'querytype' and 'src' attributes, so there is no need
to handle them specially in the constructor.
Tests:
test/lfc/data/alldata.lzx
demos/amazon
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs 2007-11-29 17:32:27 UTC
(rev 7414)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs 2007-11-29 21:27:27 UTC
(rev 7415)
@@ -148,9 +148,10 @@
/** HTTP method */
+
var querytype = "GET";
+setters.querytype = "setQueryType";
-
/** When true, the server will trim
* whitespace in the XML data (defaults to false).
* @type Boolean
@@ -182,9 +183,10 @@
/** The source for requests made by this dataset.
* @type String
*/
+var src = null;
setters.src = "setSrc";
-//defaultattrs.data = null;
+
/** @access private */
setters.autorequest = "setAutorequest";
@@ -219,16 +221,6 @@
args.secureport = args.port;
}
- if ('querytype' in args && args.querytype) {
- this.setQueryType(args.querytype);
- }
-
- if ('src' in args && args.src) {
- this.src = args.src;
- } else {
- this.src = null;
- }
-
this.ownerDocument = this;
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins