The result will be array of value objects coming from Java. But since the backend objects are not yet ready I am trying to simulate with xml.
Here is my remote object syntax. <mx:RemoteObject id="itemDisplay_mngItemsController" source=" manageitems.controllers.MngItemsController" showBusyCursor="true"> <mx:method name="getItemList" result="itemlist_do=event.result" fault="mx.controls.Alert.show(event.fault.faultstring, 'Remote Call Error')"> <mx:arguments> <arg1>user_id</arg1> <arg2>month</arg2> </mx:arguments> </mx:method> </mx:RemoteObject> can we treat "itemlist_do" as array of objects? In other words how to display records from a xml file in flex app record by record? Thanks! Hari -----Original Message----- From: Tarik Ahmed [mailto:[EMAIL PROTECTED] Sent: Monday, March 14, 2005 3:54 PM To: [email protected] Subject: Re: [flexcoders] dataprovider for <mx:Array> tag What is your remote object returning? If it doesn't return an array, you could create a function that processes the result of the remote object function and manage it that way. Doodi, Hari - BLS CTR wrote: >Hi, > I need to develop a UI such that when user click 'Prev' button >system should display previous product info in the queue and if user click >on 'Next' then system should display next product info in the queue. I >thought of achieving this by assigning result object from remote object >method to a Array and keep track of current product index accordingly >populate Form Items. But to my surprise there is no property of dataprovider >to <mx:Array> tag. Did any one already developed this kind of functionality >so that I can have a look at it or appreciate any suggestions. > >Thanks! >Hari > > > > >Yahoo! Groups Links > > > > > > > > > > Yahoo! Groups Links

