Change philip-20110610-fMh by philip@PHILIP-I7 on 2011-06-10 08:52:20
EDT
in /cygdrive/c/clients/laszlo/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: New methods for replicators: refresh(), removeNodes()
New Features:
Bugs Fixed: LPP-9961
Technical Reviewer: (pending)
QA Reviewer: antun
Doc Reviewer: (pending)
Documentation:
Release Notes:
Overview:
New removeNodes() method for replicators to remove one or more nodes.
After the nodes are removed, the displayed nodes are updated.
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/philip-20110610-fMh.tar
New refresh() method for lazyreplicator to recreate the clones for
display. If you manually change the nodes array you can call this
method. It is recommended to use removeNodes() if you need to remove
nodes from list.
Details:
replicator.lzx
- Added removeNodes() to remove one or more nodes from the list.
lazyreplicator.lzx
- Override removeNodes() to remove nodes and refresh the screen.
- Added refresh() method to recreate the clones for display.
Tests:
See test case in jira. I added a modified version of
olbug-not-refreshing.lzx to the jira report.
Files:
M lps/components/utils/replicator/lazyreplicator.lzx
M lps/components/utils/replicator/replicator.lzx