How to convert "setQueryType(...)"
2009-03-01 12:29:01 GMT
Hi There,
Hi There,
You should use setAttribute for the 'querytype'
setAttribute('querytype', 'post')
setQueryType is now deprecated.
On Sun, Mar 1, 2009 at 7:29 AM, Chen Ding <chending0602 <at> gmail.com> wrote:
> 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
--
--
Henry Minsky
Software Architect
hminsky <at> laszlosystems.com
Can you ask on Laszlo-user if anyone depends on it? And maybe summarize the differences? I'm in favor of being all for less duplicate redundancy reduction myself speaking for me. On 2009-03-01, at 09:58EST, Lou Iorio wrote: > Did we agree that we can remove index.jsp from trunk? It's out > of date and mostly redundant with index.html. > > All we need to do is svn delete it; browsing to trunk will then > open index.html.
And please file a bug to get SetQueryType added to the conversion
script.
On 2009-03-01, at 08:54EST, Henry Minsky wrote:
> You should use setAttribute for the 'querytype'
>
> setAttribute('querytype', 'post')
>
> setQueryType is now deprecated.
>
>
> On Sun, Mar 1, 2009 at 7:29 AM, Chen Ding <chending0602 <at> gmail.com>
> wrote:
>> 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
>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky <at> laszlosystems.com
>
Wouldn't anyone who cares be on this maillist? This issue does not exist except
for those building from source, since index.jsp does not ship with the pre-built
version.
Go to, for example http://www.openlaszlo.org/lps4.2/, and you get index.html.
On 3/1/09, P T Withington <ptw <at> pobox.com> wrote:
> Can you ask on Laszlo-user if anyone depends on it? And maybe summarize the
> differences?
>
> I'm in favor of being all for less duplicate redundancy reduction myself
> speaking for me.
>
>
> On 2009-03-01, at 09:58EST, Lou Iorio wrote:
>
>
> > Did we agree that we can remove index.jsp from trunk? It's out
> > of date and mostly redundant with index.html.
> >
> > All we need to do is svn delete it; browsing to trunk will then
> > open index.html.
> >
>
>
Apparently so! I was unaware of that. Given that you already raised this on this list and the responses have all been dealt with, I say go for it! On 2009-03-01, at 10:55EST, Lou Iorio wrote: > Wouldn't anyone who cares be on this maillist? This issue does not > exist > except > for those building from source, since index.jsp does not ship with the > pre-built > version. > > Go to, for example http://www.openlaszlo.org/lps4.2/, and you get > index.html. > > On 3/1/09, P T Withington <ptw <at> pobox.com> wrote: >> Can you ask on Laszlo-user if anyone depends on it? And maybe >> summarize > the >> differences? >> >> I'm in favor of being all for less duplicate redundancy reduction >> myself >> speaking for me. >> >> >> On 2009-03-01, at 09:58EST, Lou Iorio wrote: >> >> >>> Did we agree that we can remove index.jsp from trunk? It's out >>> of date and mostly redundant with index.html. >>> >>> All we need to do is svn delete it; browsing to trunk will then >>> open index.html. >>> >> >>
[I'm going to check this in because it is likely breaking a lot of
things...]
Change 20090301-ptw-c by ptw <at> dueling-banjos.home on 2009-03-01
13:39:42 EST
in /Users/ptw/OpenLaszlo/trunk-3
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix nodePath to actually go all the way to the root of the
document
Bugs Fixed:
LPP-7833 onmousedragin / onmousedragout not working in swf8, swf9 or
DHTML (partial)
LPP-7750 Many warnings and errors with LZOs
Technical Reviewer: a.bargull <at> intensis.de (pending)
QA Reviewer: mdemmon (pending)
Doc Reviewer: (pending)
Details:
nodePath was not counting duplicate tags at document root
Tests:
inspection of compiler output for bug test case
Files:
M WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090301-ptw-c.tar
Change 20090301-lou-k by lou <at> loumac.local on 2009-03-01 15:16:52 AST
in /Users/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: remove index.jsp from trunk
Bugs Fixed: LPP-7835
Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Details: index.jsp is largley redundant with index.html, and out of
date.
remove it so index.html is the default page in trunk/
Files:
D index.jsp
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090301-lou-k.tar
Approved. On 3/1/2009 8:01 PM, P T Withington wrote: > [I'm going to check this in because it is likely breaking a lot of > things...] > > Change 20090301-ptw-c by ptw <at> dueling-banjos.home on 2009-03-01 > 13:39:42 EST > in /Users/ptw/OpenLaszlo/trunk-3 > for http://svn.openlaszlo.org/openlaszlo/trunk > > Summary: Fix nodePath to actually go all the way to the root of the > document > > Bugs Fixed: > LPP-7833 onmousedragin / onmousedragout not working in swf8, swf9 or > DHTML (partial) > LPP-7750 Many warnings and errors with LZOs > > Technical Reviewer: a.bargull <at> intensis.de (pending) > QA Reviewer: mdemmon (pending) > Doc Reviewer: (pending) > > Details: > nodePath was not counting duplicate tags at document root > > Tests: > inspection of compiler output for bug test case > > Files: > M WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java > > Changeset: > http://svn.openlaszlo.org/openlaszlo/patches/20090301-ptw-c.tar >
RSS Feed16 | |
|---|---|
16 | |
77 | |
47 | |
80 | |
80 | |
67 | |
86 | |
75 | |
89 | |
206 | |
223 | |
285 | |
416 | |
215 | |
165 | |
142 | |
317 | |
416 | |
356 | |
392 | |
406 | |
285 | |
309 | |
238 | |
312 | |
228 | |
211 | |
326 | |
425 | |
344 | |
98 | |
303 | |
316 | |
376 | |
593 | |
467 | |
626 | |
480 | |
384 | |
493 | |
562 | |
376 | |
615 | |
740 | |
651 | |
668 | |
526 | |
422 | |
391 | |
300 | |
392 | |
498 | |
426 | |
364 | |
230 | |
378 | |
458 | |
276 | |
732 | |
439 | |
698 | |
634 | |
650 | |
552 | |
633 | |
436 | |
347 | |
571 | |
423 | |
266 | |
247 | |
139 | |
294 | |
309 | |
250 | |
76 | |
132 | |
95 | |
57 | |
180 | |
114 | |
61 | |
156 | |
196 | |
206 | |
67 | |
105 | |
21 |