Re: [flexcoders] Flex and CFCs -- problems displaying recordsets in datagrids

2005-07-24 Thread Tariq Ahmed
:13 PM To: flexcoders@yahoogroups.com Cc: Subject: Re: [flexcoders] Flex and CFCs -- problems displaying recordsets in datagrids -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives

Re: [flexcoders] Flex and CFCs -- problems displaying recordsets in datagrids

2005-07-23 Thread Tariq Ahmed
Good stuff! - Well I don't know if there's really a standard with respect to CF to Flex communications. Certainly there are naming convention standards that I see being adopted from the Flash/Java development side of things, and having things returned in a non-predictable manner can cost

RE: [flexcoders] Flex and CFCs -- problems displaying recordsets in datagrids

2005-07-23 Thread dfatta
Cc: Subject: Re: [flexcoders] Flex and CFCs -- problems displaying recordsets in datagrids -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders

RE: [flexcoders] Flex and CFCs -- problems displaying recordsets in datagrids

2005-07-22 Thread Philippe Maegerman
I think the workaround for caps was SELECTStuff as StuffFROM tbl Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff SteinerSent: vendredi 22 juillet 2005 6:01To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex and CFCs

RE: [flexcoders] Flex and CFCs -- problems displaying recordsets in datagrids

2005-07-22 Thread Allen Manning
Darius, Rather than passing ColdFusion recordsets directly back to Flex, what we did is transform the results into an array of CFCs or an array of structs and let the automatic AS type translation transform these results into native AS value objects. I would be weary of too tightly coupling your

RE: [flexcoders] Flex and CFCs -- problems displaying recordsets in datagrids

2005-07-22 Thread dfatta
Hi Allen, I'm very interested in learning how you achieved this. I continue to be confused by all varying syntax one can use to access data using AMF. It looks like your approach is certainly a best practice. Do you have an example you could share of your cfc, mxml, and actionscript. I

RE: [flexcoders] Flex and CFCs -- problems displaying recordsets in datagrids

2005-07-22 Thread dfatta
Hi Tarik, Please ignore my previous messages. I was able to get it working. I misunderstood the capitalization advice. I had capitalized the entire field, when only the first letter needed to be. A couple of follow-up questions, if you don't mind: I see contrary advice on how to

Re: [flexcoders] Flex and CFCs -- problems displaying recordsets in datagrids

2005-07-21 Thread Tarik Ahmed
Hi Darius, welcome. Some things to keep in mind: - CF and it's CFCs are not case sensitive, where as Flex is. Eg if you do a CFQUERY and just send the results back, all the fields will be upper case. - I think on your doResult you'll need output.dataProvider = event.result._items; Here's some

RE: [flexcoders] Flex and CFCs -- problems displaying recordsets in datagrids

2005-07-21 Thread Jeff Steiner
When returning data from a CFC most of the time it changes the name to all caps. For example: SELECT Stuff FROM Table Cfreturn query Output it as: event.result[0].STUFF; Jeff Founder Flex Authority http://www.flexauthority.com We are actively seeking contributors