<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.&nbsp; Sorry about that... I thought I'd found them
all, but there's still this one.<br>
&nbsp;<br>
Thanks,<br>
Josh<br>
&nbsp;<br>
Begin forwarded message:<br><br>
<br>
<b>From: </b>J Crowley
&lt;<a href="mailto:jcrowley@laszlosystems.com">
jcrowley@laszlosystems.com</a>&gt;<br>
<b>Date: </b>August 1, 2007 4:51:50 AM EDT<br>
<b>To: </b>Philip Romanik
&lt;<a href="mailto:promanik@laszlosystems.com">
promanik@laszlosystems.com</a>&gt;, Henry Minsky
&lt;<a href="mailto:henry.minsky@gmail.com">henry.minsky@gmail.com</a>
&gt;<br>
<b>Cc: </b>OpenLaszlo development and bug reporting
&lt;<a href="mailto:laszlo-dev@openlaszlo.org">
laszlo-dev@openlaszlo.org</a>&gt;<br>
<b>Subject: [Laszlo-dev] For Review: Change 20070801-jcrowley-1 Summary:
add Method removeAllItems at Component baselist<br>
</b>&nbsp;<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>
&nbsp;&nbsp;&nbsp; in /Users/jcrowley/src/svn/openlaszlo/legals-safe<br>
&nbsp;&nbsp;&nbsp; for
<a href="http://svn.openlaszlo.org/openlaszlo/branches/legals">
http://svn.openlaszlo.org/openlaszlo/branches/legals</a><br>
&nbsp;<br>
Summary: add Method removeAllItems at Component baselist<br>
&nbsp;<br>
New Features:<br>
&nbsp;<br>
Bugs Fixed: LPP-4054<br>
&nbsp;<br>
Technical Reviewer: promanik<br>
QA Reviewer: henry<br>
Doc Reviewer:<br>
&nbsp;<br>
Documentation:<br>
&nbsp;<br>
Release Notes:<br>
&nbsp;<br>
Details: Bug fix from community contributor Sebastian Wagner.<br>
&nbsp;<br>
No rush on this, by the way; I can wait until after we're<br>
done with WaffleCone.<br>
&nbsp;<br>
Tests: I used this testcase:<br>
&nbsp;<br>
&lt;canvas width=&quot;600&quot; height=&quot;400&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;list name=&quot;testlist&quot; x=&quot;10&quot;
y=&quot;10&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;textlistitem
text=&quot;item 1&quot; value=&quot;1&quot;
selected=&quot;true&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;textlistitem
text=&quot;item 2&quot; value=&quot;2&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;textlistitem
text=&quot;item 3&quot; value=&quot;3&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;textlistitem
text=&quot;item 4&quot; value=&quot;4&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;textlistitem
text=&quot;item 5&quot; value=&quot;5&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;textlistitem
text=&quot;item 6&quot; value=&quot;6&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;textlistitem
text=&quot;item 7&quot; value=&quot;7&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/list&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;button
onclick=&quot;testlist.removeAllItems()&quot;/&gt;<br>
&lt;/canvas&gt;<br>
&nbsp;<br>
Clicking the button will remove all the items from the list.<br>
&nbsp;<br>
Files:<br>
M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lps/components/base/baselist.lzx<br>
&nbsp;<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>
&nbsp;</blockquote></body>
</html>