<html>
<body>
Not approved (I tested on trunk). The change works fine in swf, but
doesn't remove all the items in dhtml. I had to click on the button 3
times for all the items to be removed.<br><br>
This extends the API. Amy says this change needs to go through a
proposal/review process. Ping Amy directly about it.<br><br>
<br><br>
<br>
<blockquote type=cite class=cite cite="">Ah, found one last bug that's
still pending review. Sorry about that... I thought I'd found them
all, but there's still this one.<br>
<br>
Thanks,<br>
Josh<br>
<br>
Begin forwarded message:<br><br>
<br>
<b>From: </b>J Crowley
<<a href="mailto:jcrowley@laszlosystems.com">
jcrowley@laszlosystems.com</a>><br>
<b>Date: </b>August 1, 2007 4:51:50 AM EDT<br>
<b>To: </b>Philip Romanik
<<a href="mailto:promanik@laszlosystems.com">
promanik@laszlosystems.com</a>>, Henry Minsky
<<a href="mailto:henry.minsky@gmail.com">henry.minsky@gmail.com</a>
><br>
<b>Cc: </b>OpenLaszlo development and bug reporting
<<a href="mailto:laszlo-dev@openlaszlo.org">
laszlo-dev@openlaszlo.org</a>><br>
<b>Subject: [Laszlo-dev] For Review: Change 20070801-jcrowley-1 Summary:
add Method removeAllItems at Component baselist<br>
</b> <br>
Change 20070801-jcrowley-1 by
<a href="mailto:jcrowley@doctormanhattan.mshome.net">
jcrowley@doctormanhattan.mshome.net</a> on 2007-08-01 04:43:23 EDT<br>
in /Users/jcrowley/src/svn/openlaszlo/legals-safe<br>
for
<a href="http://svn.openlaszlo.org/openlaszlo/branches/legals">
http://svn.openlaszlo.org/openlaszlo/branches/legals</a><br>
<br>
Summary: add Method removeAllItems at Component baselist<br>
<br>
New Features:<br>
<br>
Bugs Fixed: LPP-4054<br>
<br>
Technical Reviewer: promanik<br>
QA Reviewer: henry<br>
Doc Reviewer:<br>
<br>
Documentation:<br>
<br>
Release Notes:<br>
<br>
Details: Bug fix from community contributor Sebastian Wagner.<br>
<br>
No rush on this, by the way; I can wait until after we're<br>
done with WaffleCone.<br>
<br>
Tests: I used this testcase:<br>
<br>
<canvas width="600" height="400"><br>
<list name="testlist" x="10"
y="10"><br>
<textlistitem
text="item 1" value="1"
selected="true"/><br>
<textlistitem
text="item 2" value="2"/><br>
<textlistitem
text="item 3" value="3"/><br>
<textlistitem
text="item 4" value="4"/><br>
<textlistitem
text="item 5" value="5"/><br>
<textlistitem
text="item 6" value="6"/><br>
<textlistitem
text="item 7" value="7"/><br>
</list><br>
<button
onclick="testlist.removeAllItems()"/><br>
</canvas><br>
<br>
Clicking the button will remove all the items from the list.<br>
<br>
Files:<br>
M lps/components/base/baselist.lzx<br>
<br>
Changeset:
<a href="http://svn.openlaszlo.org/openlaszlo/patches/20070801-jcrowley-1.tar">
http://svn.openlaszlo.org/openlaszlo/patches/20070801-jcrowley-1.tar</a>
<br>
</blockquote></body>
</html>