Sanjaya, Thanks for the reference. I did try it but I suspect it might have an issue due to the way I have it setup. I have a class scrollview which contains a view that isn't clipping, I would consider this the replicationParent. The user of the class has the replicated view. It looks like it should behave correctly but I have the same issue with it as Lazy. I'll hopefully get to making an example without my scrollview class and see if it works there.
One side effect of lazy replication seems to be a good size of memory between garbage collections. If you scroll up and down on a list of maybe 20 items, I can generate up to 5M of memory usage. I suppose this is ok when you are dealing with a lot of data I just wonder what happens when you scroll against 1000 items. It could spike memory usage if the garbage collector doesn't trigger faster. Thanks, Bruce [EMAIL PROTECTED] wrote: > Hi Bruce, > > In my understanding lazy replication will always use a fixed size > child element . > The size of the first child "dictates" the size of the remaining > children. > With the fixed sized child items, lazy replication manager can perform > very well. > > If you would like to have a variable sized children, I think you can use > LzResizeReplicationManager, please see > > http://www.laszlosystems.com/lps-3.3/docs/reference/lzresizereplicationmanager.html > > > > I believe the performance of resize manager not as fast as the lazy one. > > Hope this help. > > thanks > Sanjaya > > On Mon, Jul 3, 2006 at 11:37 AM, Bruce wrote: > >> >> I have an issue where when using lazy replication that the view isn't >> update properly with multiline text. The replicated view has 3 text >> lines in it; the first two are on the same line, the second is the >> multiline text box. The view is sized as if it were a single line so >> anytime the text wraps, the view isn't correct and the scroll doesn't >> work right. >> When I change replication to normal, everything works fine. It seems >> the reporting of height doesn't propagate to the view properly then >> to the scrollbar. I haven't tried doing it all manually using >> applyData or ondata. I tried dynamically sizing the text box at >> applyData time but in lazy mode, it doesn't update the view. Looks >> like a bug to me. >> >> Cheers, >> Bruce >> >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Free Edition. >> Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 6/30/2006 >> >> _______________________________________________ >> Laszlo-user mailing list >> [email protected] >> http://www.openlaszlo.org/mailman/listinfo/laszlo-user > > > > -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 6/30/2006 _______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
