Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
New Flex Guy #1
Problem accessing results from DataService fill method
I've set up an application that gets data from a data service
configured with a java-dao adapter. If I define a DataGrid with the
array populated by the fill method I see the data in the grid. Cool.
So I know I've configured and coded everything correctly.
However, if I try to access the data with the following code, it
appears my array is empty!
ray = new ArrayCollection();
ds = new DataService("assets");
ds.fill(ray);
var asset:Asset = ray[0];
This gives me an index '0' out of bounds error. I've also tried
ray.getItemAt(0) with the same results.
How do I access and manipulate the results of a fill method via
ActionScript? I'm currently using Beta3.
New Flex Guy Guest
-
How to get results from cfc method used as Form Action
I'm collecting a value in a form field that I want to use a parament to a cfc method that performs a query and then returns data for formating on... -
adapter.fill method error if the web application is left unattented for sometime
I am getting the adapter.fill method error if the web application is left unattented for sometime and if the user clicks a link or next button which... -
Problem calling Fill() method
I have several tables involved in my application, but the two in question here are the company and address tables. The company table has... -
Newbie Question: fill a dataset with results from web service call
I am trying to get a better grasp of using web services. I have had success when I have a user type something into a text box and then pass that...



Reply With Quote

