I am in fact using the Array of CFCs as a property of a larger object.
So, for example: School class has a property called students which is
an array of Student objects.

I think that's what you are asking.

In which case, I don't know how to hack it since I am using Cairngorm
and all my logic is encapsulated in a Command which has no knowledge
of the view.


--- In [email protected], "Douglas Knudsen"
<[EMAIL PROTECTED]> wrote:
>
> are you returning a single array of CFCs to Flex?  As in, a array of
CFCs
> only, not enclosed in a composite object?  If so, you are in luck,
you can
> use ArrayCollection().  In your result handler do something like
> foo = new ArrayCollection( event.result as Array);   (i might be off
on the
> syntax)
> 
> bamm, you have a ArrayCollection.  If you are using composite
objects, your
> SOL AFAIK.  I have not been able to crack that nut.
> 
> as for your issue, dunno, in 1.5 I recall having to use a
> hack....dg.dataProvider = dg.dataProvider  on occasion.
> 
> DK
> 
> On 10/11/06, lostinrecursion <[EMAIL PROTECTED]> wrote:
> >
> > Hi all,
> >
> > I am hoping this is fairly simple. I use CF7 and Flex via RemoteObject
> > calls to populate certain sets of data in my application.
> >
> > Everything works as expected (also thanks to this list) until I
> > attempt to get the DataGrid that I am using to display an Array to
> > update when I add an item.
> >
> > Now, I know this is because I am attempting to use the push() method
> > and that is a low level function.
> >
> > The problem is, I cannot use ArrayCollection as the datatype in my
> > class because then the mapping between my CFC and Flex class fails
> > since CF can only interpret Arrays.
> >
> > Can anyone suggest something?
> >
> > Thanks so much.
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> 
> 
> -- 
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to