[flexcoders] LCDS: DataService.fill() not filling

2008-11-18 Thread Geoffrey
Does anyone know what would prevent a DataService.fill() call to not 
populate it's managed collection?

I have an ArrayCollection that is the dataProvider for a DataGrid.  I 
see that data is coming back from the fill() call, but it doesn't 
appear to be passing that data to the ArrayCollection.  If I inspect 
that variable after the fill() completes, it's empty.

I double checked that the ArrayCollection that I'm passing to the 
fill() method is indeed the one that is used as the dataProvider.

Any thoughts would be appreciated.
 ~Geoff



Re: [flexcoders] LCDS: DataService.fill() not filling

2008-11-18 Thread Brendan Meutzner

Geoff,

1) check the data-management-config.xml file to be sure your data  
type, unique Id value, etc are correct


2) make sure your array collection is not null prior to passing into  
fill method on service ( ie. new ArrayCollection() on var first )


HTH,

Brendan


On Nov 18, 2008, at 12:05 PM, Geoffrey [EMAIL PROTECTED] wrote:


Does anyone know what would prevent a DataService.fill() call to not
populate it's managed collection?

I have an ArrayCollection that is the dataProvider for a DataGrid. I
see that data is coming back from the fill() call, but it doesn't
appear to be passing that data to the ArrayCollection. If I inspect
that variable after the fill() completes, it's empty.

I double checked that the ArrayCollection that I'm passing to the
fill() method is indeed the one that is used as the dataProvider.

Any thoughts would be appreciated.
~Geoff