An old example (from
LPP-414) doesn't run in dhtml. If you click on the button,
$4_svs[0].cloneManager has no properties
<canvas>
<dataset name="ds">
<data>
</data>
</dataset>
<simplelayout/>
<list id="list1" datapath="ds:/data" height="100" dataoption="lazy">
<textlistitem datapath="item" text="$path{'@text'}"/>
</list>
<button text="add">
<method event= "onclick">
var node = new LzDataElement("item", {text: "new item"});
list1.datapath.p.appendChild(node);
var view = list1._selector.getItemByData(node);
list1.select(view);
</method>
</button>
</canvas>
in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/branches/legals
Summary:
New Features:
Bugs Fixed:
LPP-3856Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
When testing a bugfix in dhtml (Change 20070406-maxcarlson-R), I received an err
or. Turns out the code isn't checking for null for cloneManager.
Tests:
See code in jira bug.
Files:
M lps/components/base/datalistselector.lzx
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070406-Philip-4.tar