RE: [flexcoders] arrayCollection to custom value object

2006-07-06 Thread Shannon Hicks
Shannon HicksSent: Thursday, July 06, 2006 11:03 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] arrayCollection to custom value object The ArrayCollection was returned from a CFC (just a simple select * query). Shan From: flexcoders@yahoogroups.com [mailto:flexcoders

RE: [flexcoders] arrayCollection to custom value object

2006-07-06 Thread Peter Farland
Hicks Sent: Thursday, July 06, 2006 11:03 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] arrayCollection to custom value object   The ArrayCollection was returned from a CFC (just a simple select * query).   Shan   From: flexcoders@yahoogroups.com [mailto:flexcoders

RE: [flexcoders] arrayCollection to custom value object

2006-07-06 Thread Shannon Hicks
@yahoogroups.comSubject: RE: [flexcoders] arrayCollection to custom value object So, how can I get my ArrayCollection row into my object? It's cool that I can test and see that it's not working using "IS", but it doesn't solve the problem, just allows me to trap it :) Shan From: f

RE: [flexcoders] arrayCollection to custom value object

2006-07-06 Thread Peter Farland
Subject: RE: [flexcoders] arrayCollection to custom value object   So, how can I get my ArrayCollection row into my object? It's cool that I can test and see that it's not working using "IS", but it doesn't solve the problem, just allows me to trap it :)   Shan

RE: [flexcoders] arrayCollection to custom value object

2006-07-05 Thread Shannon Hicks
alf Of Peter FarlandSent: Wednesday, July 05, 2006 10:07 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] arrayCollection to custom value object The item may not be an instance of user, but rather an anonymous Object that contains the correct properties that match the public interfa

RE: [flexcoders] arrayCollection to custom value object

2006-07-05 Thread Peter Farland
The item may not be an instance of user, but rather an anonymous Object that contains the correct properties that match the public interface of the user class. The “as” operator returns null if the instance cannot be coerced into the requested type… where as traditional casting syntax w