[Laszlo-dev] How to convert "setQueryType(...)"

Chen Ding chending0602 at gmail.com
Sun Mar 1 04:29:01 PST 2009


Hi There,
I upgraded my OpenLaszlo to 4.2, which requires converting the setters to
"setAttribute(...)". I ran the pearl script. Everything worked just fine
except that it missed the "setQueryType(...)". I am not sure whether I
should convert it, and if yes, what should I use. Shall I convert it to
"setAttribute('query_type', xxx)"? Please help!

Below is the code in case it may help.

    ...
    var ds = LzHttpDatasetPool.get(this.loadDel, this.errorDel,
this.timeoutDel)    ;
    ds.setQueryType('POST');
    ds.setQueryParams( params );  // 'parms' is a parameter passed in
    ...


Thanks!

Chen Ding
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20090301/e9d720be/attachment.html


More information about the Laszlo-dev mailing list