(I'm checking this code into trunk.)

Change philip-20110602-DKQ by philip@PHILIP-I7 on 2011-06-02 18:13:10 EDT
    in /cygdrive/c/clients/laszlo/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary:

New Features:

Bugs Fixed: LPP-9943

Technical Reviewer: (pending)
QA Reviewer: ffeng
Doc Reviewer: (pending)

Documentation:

Release Notes:

Overview:


Details:
I improved resizereplicator to work with nodes that are more than just a simple text object. I found that the resizereplicator shouldn't be reusing old cloned objects because the old clone sizes were being used. I added a recycleclones attribute which default to false. If you set this to true, clones will be recycled like the lazyreplicator.

I still see some strange behavior when cloning nodes that have a height of 0. A node starts with an initial value (this.replicatedsize) and when it is reset to 0, it appears some events are not being generated.


Tests:
See test case in jira

Files:
M       lps/components/utils/replicator/resizereplicator.lzx

Reply via email to