|
|
|
[
Permlink
| « Hide
]
André Bargull - 21/Nov/07 03:18 PM
attached testcase
out for review.
Hmm, there is also a setter in LzDataset for the 'src' attribute, it seems like the code in the construct method which handles the 'src' attribute should be removed, since it is redundant with what the setter does when applyArgs is called. In that case it should be declared "var src = null;" in the class declaration. I guess the "src"-handling is just a leftover from the old datasource-stuff
LzDataset.lzx - rev. #6244 if ('src' in args && args.src) { this.src = args.src; } else { this.src = ('src' in this._dsrc) ? this._dsrc.src : null; } reassigning to Henry, b/c he already sent out a changeset for review
r7415 | hqm | 2007-11-29 16:27:27 -0500 (Thu, 29 Nov 2007) | 31 lines
Changed paths: M /openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs Change 20071129-hqm-a by hqm@DADDY_THNKPAD67 on 2007-11-29 16:26:36 EST in /cygdrive/c/users/hqm/openlaszlo/trunk/WEB-INF/lps/lfc for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc Summary: clean up of querytype and src setters in lzdataset New Features: Bugs Fixed: Technical Reviewer: andre QA Reviewer: pbr Doc Reviewer: Documentation: Release Notes: Details: There are setters for the 'querytype' and 'src' attributes, so there is no need to handle them specially in the constructor. Tests: test/lfc/data/alldata.lzx demos/amazon |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||