I actualy did a biding through Bindable ArrayCollection but did it
with lastresult. 

I have to do it within the object because this call is dependant of
the data recieved in the object...

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> This will not work:
> 
> myLiveObj.dataProvider = service.doSomething.lastResult;
> service.doSomething();
> 
>  
> 
> Data service calls are asynchronous, so you either have  to use a result
> handler, or bind to the result.  The first row above does NOT establish
> a binding, it just assigns lastResult, (which will be either null or
> contain the wrong value) to the dataProvider property.  You should not
> assign lastResult in any case, you should use it only for binding.
> 
>  
> 
> Why are you doing the data service calls from each item?
> 
>  
> 
> Tracy
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of y.mauron
> Sent: Monday, June 02, 2008 12:14 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: First row trouble with datagrid component
> 
>  
> 
> I'm pretty sure I can to as you mentioned in your code. However I have
> to do something like this: 
> 
> myLiveObj = new LiveObj();
> service = new remoteObject();
> 
> myLiveObj.dataProvider = service.doSomething.lastResult;
> service.doSomething();
> 
> And I don't know why and how, but all the things get desynchronized
> when I add a big number of those myLiveObj objects.
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> , Tom Chiverton <tom.chiverton@>
> wrote:
> >
> > On Monday 02 Jun 2008, y.mauron wrote:
> > > Actually not, but I don't know why. I didn't manage to add item like
> > > PS : My code with the override of the set data() function (instead
> of
> > 
> > You should be able to do, in the parent during or after
> CreationComplete:
> > 
> > myLiveObj=new LiveObj();
> > myLiveObj.data='foo';
> > addChild(myLiveObj);
> > 
> > depends what component your 'LiveObj' extends of course.
> > 
> > -- 
> > Tom Chiverton
> > 
> > ****************************************************
> > 
> > This email is sent for and on behalf of Halliwells LLP.
> > 
> > Halliwells LLP is a limited liability partnership registered in
> England and Wales under registered number OC307980 whose registered
> office address is at Halliwells LLP, 3 Hardman Square, Spinningfields,
> Manchester, M3 3EB. A list of members is available for inspection at
> the registered office. Any reference to a partner in relation to
> Halliwells LLP means a member of Halliwells LLP. Regulated by The
> Solicitors Regulation Authority.
> > 
> > CONFIDENTIALITY
> > 
> > This email is intended only for the use of the addressee named above
> and may be confidential or legally privileged. If you are not the
> addressee you must not read it and must not use any information
> contained in nor copy it nor inform any person other than Halliwells
> LLP or the addressee of its existence or contents. If you have
> received this email in error please delete it and notify Halliwells
> LLP IT Department on 0870 365 2500.
> > 
> > For more information about Halliwells LLP visit www.halliwells.com.
> >
>


Reply via email to