flash data integration:
I'm having some trouble with binding a web service to a list component and
would appreciate some help...
I've written a simple CFC to use as a webservice that returns a query with
UserName and UserID. I then have a Web Service Connector retrieve that data
from Flash MX 2004 Pro. I have then bound the results to a list component
(tried both direct from the wsConnector and also using a data set). I can see
the data in the list component, but I each row shows the username and the user
id separated by commas and then followed by a trailing comma.
I have tried a number of things to correct this. I have tried using the
"Rearrange Fields" formatter and this results in "undefined, undefined,"
showing up. I have tried adding fields to the schema for either the dataset or
the list component, but that doesn't solve my problem either. I have tried
aliasing the columns in CF Query to be "label" and "data", but no luck.
Finally, I have worked through about a half dozen demos and tutorials from the
web. These have all been excellent and very helpful. However, because I cannot
find one that is populating a list component from a CFC, then I can't figure
out what I'm doing wrong. I don't even know if my problem is on the CF or flash
side. Can anyone either offer me some advice, offer a link to a tutorial or
sample, anything?
Thanks in advance.