No, I don't use LCDS so I generalized DataService to data service. Can't help you with LCDS.
Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Sent: Wednesday, January 16, 2008 1:35 PM To: [email protected] Subject: [flexcoders] Re: TileList Loading shows duplicate ArrayCollection? I have never used lastResult with a DataService call. Is that available? I have usually only seen that with an RPC call. I'll have to look this one up. We are currently wrapping our DataService.fill() call in ListCollectionView and binding to that. - Kevin --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > If you are binding directly to lastResult, this is hard to debug. Use a > result handler, and trace out your dataProvider contents when a result > arrives. > > Tracy > > > > ________________________________ > > From: [email protected] <mailto:flexcoders%40yahoogroups.com> [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of Kevin > Sent: Wednesday, January 16, 2008 1:05 PM > To: [email protected] <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] TileList Loading shows duplicate ArrayCollection? > > > > I am getting some odd behavior from the TileList when loading and > ArrayCollection from the server. I am not sure if this is an > actionscript issue OR the way Data Services serializes the collections. > > I have bound the DataProvider of my TileList to a paged collection > that get's automatically lazy loaded from the server. When the > collection comes in, you can see the TileList load with double the > amount of records and then eventually redraw with the correct list. > > 1. Can I listen for the completed load from the server and then draw > my TileList then? It seems in efficient (if not dangerous) to keep > drawing the TileList as the collection update. I also would want to > disable the TileList when new loads are getting pushed to the client. > (These seem to be causing redraw issues.) > > 2. Can I monitor the progress of the collection as it fills from the > server and create a progress monitor. Presumably we know how many we > are expecting because data services pulls in the id's. Is there a way > to then monitor the load in realtime. > > OR > > 3. Is this a problem in TileList and how the TileList lays out it's > children? Is it best practice to hide the component until all the > children are laid out to avoid this. > > Thanks for the input on this one. > > - Kevin >

