[Laszlo-dev] For Review: Change 20070801-jcrowley-1 Summary: add Method removeAllItems at Component baselist

J Crowley jcrowley at laszlosystems.com
Wed Aug 1 01:51:50 PDT 2007


Change 20070801-jcrowley-1 by jcrowley at doctormanhattan.mshome.net on  
2007-08-01 04:43:23 EDT
     in /Users/jcrowley/src/svn/openlaszlo/legals-safe
     for http://svn.openlaszlo.org/openlaszlo/branches/legals

Summary: add Method removeAllItems at Component baselist

New Features:

Bugs Fixed: LPP-4054

Technical Reviewer: promanik
QA Reviewer: henry
Doc Reviewer:

Documentation:

Release Notes:

Details: Bug fix from community contributor Sebastian Wagner.

No rush on this, by the way; I can wait until after we're
done with WaffleCone.

Tests: I used this testcase:

<canvas width="600" height="400">
     <list name="testlist" x="10" y="10">
         <textlistitem text="item 1" value="1" selected="true"/>
         <textlistitem text="item 2" value="2"/>
         <textlistitem text="item 3" value="3"/>
         <textlistitem text="item 4" value="4"/>
         <textlistitem text="item 5" value="5"/>
         <textlistitem text="item 6" value="6"/>
         <textlistitem text="item 7" value="7"/>
     </list>
     <button onclick="testlist.removeAllItems()"/>
</canvas>

Clicking the button will remove all the items from the list.

Files:
M      lps/components/base/baselist.lzx

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070801- 
jcrowley-1.tar


More information about the Laszlo-dev mailing list