[Laszlo-user] Why my dataset is returning undefined when I execute the dataset.getLoadTime() method?

Rafael Nami rafael at webapplica.com
Mon Jul 23 21:40:55 PDT 2007


Hi everyone. I have a laszlo application, that executes searches using 
the grid component. But when I try to get the response time using the 
method dataset.getLoadTime() on my app, it keeps returning 'undefined'. 
I'm using laszlo 4.0 and tomcat 6.013.
The dataset:
<dataset id="dsSearch" name="dsSearch" type="http" request="false"
            trimwhitespace="false" querytype="post"
            onerror="classroot.serverNotAvailable()"
            ontimeout="classroot.timeOut()" 
ondata="classroot.finishSearch()" />

and on the debugger, after executing a query, when I try to execute 
Debug.write(dsSearch.getLoadTime()); it returns undefined.

What is wrong in this code?
Thanks for the support, and best regards.

Rafael Mauricio Nami
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3253 bytes
Desc: S/MIME Cryptographic Signature
Url : http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20070723/75219688/smime.bin


More information about the Laszlo-user mailing list