RE: [flexcoders] Re: How to pass Flex ArrayCollection to Coldfusion CFC?

2008-04-02 Thread Battershall, Jeff
Behalf Of David Henry Sent: Tuesday, March 25, 2008 2:49 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to pass Flex ArrayCollection to Coldfusion CFC? If I remember correctly Coldfusion reads array collections as an Array of a

[flexcoders] Re: How to pass Flex ArrayCollection to Coldfusion CFC?

2008-03-25 Thread Don Kerr
Oh, so is it a ColdFusion-side question? I pass whatever data there is on the flex side (text,object,array, selectedItems, etc.) back to the CFC via a single Object. The CFC argument must be of type Struct. In this example below, gridData might be myGrid.selectedItems, or myGrid.dataProvider pass

[flexcoders] Re: How to pass Flex ArrayCollection to Coldfusion CFC?

2008-03-25 Thread David Henry
If I remember correctly Coldfusion reads array collections  as an Array of arrays (2d array).  CFDump should enlighten us a bit. Try this as your cfc code and read the returned string as html/_javascript_.                                                             David Henry

Re: [flexcoders] Re: How to pass Flex ArrayCollection to Coldfusion CFC?

2008-03-25 Thread Derrick Anderson
how about just switching the argument type to 'ANY' to get past the error, then u can see what type of object is sent to coldfusion. On Tue, Mar 25, 2008 at 2:20 PM, markflex2007 <[EMAIL PROTECTED]> wrote: > Hi, > > I try to pass flex ArrayCollection to coldfusion cfc like following > > > http

[flexcoders] Re: How to pass Flex ArrayCollection to Coldfusion CFC?

2008-03-25 Thread markflex2007
Hi, I try to pass flex ArrayCollection to coldfusion cfc like following http://www.adobe.com/2006/mxml"; layout="vertical"> This is the cfc:

[flexcoders] Re: How to pass Flex ArrayCollection to Coldfusion CFC?

2008-03-25 Thread markflex2007
Hi Don, I have read the code in your demo. but this one is show us how to read data from coldfusion cfc and save to flex Arraycollection. My question is how to update database with cfc after I pass updated ArrayCOllection from Flex. Thanks a lot Mark --- In flexcoders@yahoogroups.com, "Don Ker

[flexcoders] Re: How to pass Flex ArrayCollection to Coldfusion CFC?

2008-03-21 Thread Don Kerr
I put this demo together for my Space City AUG meeting to show the basics of ColdFusion-Flex. I think these two examples will get you what you need http://www.fusionpage.com/flex/demos/bin/demos.html Don Kerr --- In flexcoders@yahoogroups.com, "markflex2007" <[EMAIL PROTECTED]> wrote: > > A doc

[flexcoders] Re: How to pass Flex ArrayCollection to Coldfusion CFC?

2008-03-21 Thread markflex2007
A documentation said Flex ArrayCollection maps to Coldfusion query, Do you have a sample to do this so I can understand it. Thnaks Mark --- In flexcoders@yahoogroups.com, Jeffry Houser <[EMAIL PROTECTED]> wrote: > > > ArrayCollection maps to an Array > > I'm sure this is documented somewh