Author: hqm
Date: 2007-08-30 06:30:50 -0700 (Thu, 30 Aug 2007)
New Revision: 6289

Modified:
   openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/data/LzDataset.lzs
   openlaszlo/branches/wafflecone/WEB-INF/lps/schema/lzx.rnc
Log:
Change 20070829-hqm-0 by [EMAIL PROTECTED] on 2007-08-29 19:22:14 EDT
    in /cygdrive/c/users/hqm/openlaszlo/wafflecone3
    for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary:  fix 'request' attribute in dataset

New Features:

Bugs Fixed: LPP-4610
Bug: LPP-4610

Technical Reviewer: pkang
QA Reviewer: pbr
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
    
the 'request' attribute was being aliased to the doRequest() method, to support
the deprecated 'request()' method name. 

Change this to be a regular attribute


Tests:

test/lfc/data/alldata.lzx  (swf, dhtml)

test/smoke





Modified: openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/data/LzDataset.lzs
===================================================================
--- openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/data/LzDataset.lzs   
2007-08-30 10:59:00 UTC (rev 6288)
+++ openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/data/LzDataset.lzs   
2007-08-30 13:30:50 UTC (rev 6289)
@@ -187,7 +187,7 @@
   * inits. The default for this is false.
   * @type Boolean
   */
-/* var request; */
+var request = false;
 setters.request = "setRequest";
 
 var autorequest = false;
@@ -503,6 +503,7 @@
   * initialized
   */
 function setRequest( b ) {
+    this.request = b;
     if ( ! b ) return;
     if ( !this.isinited ){
         this.reqOnInitDel = new LzDelegate( this , "doRequest" , 
@@ -670,10 +671,6 @@
 
 }
 
-// TODO [hqm 2007-08] Is "request()" an ancient deprecated alias for
-// doRequest? When can we get rid of it?
-prototype.request = doRequest;
-
 /**
   * Turns autorequest on or off, depending on the value passed in. 
   * If true, changes to dataset request parameters cause new datasets to be 

Modified: openlaszlo/branches/wafflecone/WEB-INF/lps/schema/lzx.rnc
===================================================================
--- openlaszlo/branches/wafflecone/WEB-INF/lps/schema/lzx.rnc   2007-08-30 
10:59:00 UTC (rev 6288)
+++ openlaszlo/branches/wafflecone/WEB-INF/lps/schema/lzx.rnc   2007-08-30 
13:30:50 UTC (rev 6289)
@@ -645,6 +645,11 @@
   [lza:since="1.1"
    lza:defaultValue="false"]
   attribute request {boolean}? &
+  ## If true, every change to the dataset source or query params will
+  ## cause a new request to be made automatically
+  [lza:since="4.1"
+   lza:defaultValue="false"]
+  attribute autorequest {boolean}? &
   ## If true, the client should ensure that each request is made,
   ## rather than just making and reporting the last request.
   [lza:since="1.1"


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to