[Laszlo-checkins] r10024 - openlaszlo/trunk/WEB-INF/lps/lfc/data
hqm@openlaszlo.org
hqm at openlaszlo.org
Thu Jun 26 12:18:31 PDT 2008
Author: hqm
Date: 2008-06-26 12:18:30 -0700 (Thu, 26 Jun 2008)
New Revision: 10024
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs
Log:
Change 20080626-hqm-B by hqm at badtzmaru.home on 2008-06-26 15:16:49 EDT
in /Users/hqm/openlaszlo/trunk4
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: fix dataset docs for type attribute
New Features:
Bugs Fixed: LPP-6120
Technical Reviewer: lorio
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Tests:
ant reference
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs 2008-06-26 18:05:46 UTC (rev 10023)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs 2008-06-26 19:18:30 UTC (rev 10024)
@@ -163,6 +163,18 @@
*/
var acceptencodings = false;
+/**
+ * When set to "http" or "soap", the dataset
+ * interprets it's src attribute as a URL to be loaded at runtime.
+ * If the "src" attribute is set to a URL (e.g., starts with "http:") then
+ * the type attribute implicitly becomes "http".
+ * @type String
+ * @lzxtype http|soap
+ * @keywords read-only
+ * @devnote This is really a 'pseudo' attribute , it is handled by the tag processor phase
+ */
+var type = null;
+
/** An LzParams object which holds query key-value pairs.
@type LzParam
*/
@@ -240,7 +252,9 @@
*/
function $lzc$set_data(v) { this.setData(v); }
-/** The source for requests made by this dataset.
+/** The source for requests made by this dataset. The value can be a pathname or an absolute or relative URL.
+ * If the value is a URL (starts with "http:"), the dataset will be configured to load its data at runtime.
+ * Otherwise, the data is included inline into the application at compile time.
* @type String
*/
var src = null;
More information about the Laszlo-checkins
mailing list