Sujit, I've done exactly as you have in this blog with the exception of returning one object at a time...instead i return a list of objects (in java List resultList = new ArrayList();) .. so i guess i need a way to deserialize the list on the Actionscript side is that the problem?
yes...i'm using datagrid... Thanks! p On Feb 20, 2008 6:04 AM, Sujit Reddy <[EMAIL PROTECTED]> wrote: > Hi, > Firstly you need to map your AS objects to the Java objects (if you did > this already, ignore). Here is the link to details on how to map. > > http://sujitreddyg.wordpress.com/2008/01/16/mapping-action-script-objects-to-java-objects/ > > to which component are you setting the dataprovider to? if it is DataGrid, > can you make sure you have included the datafield properties properly. If it > is to List or combobox, you have to set the label field property also. > > If all the above are done and still it is not working, please share some > code snippets, which might help to debug the issue. > > Regards, > Sujit Reddy G > > > On Wed, Feb 20, 2008 at 11:03 AM, Peeyush Tuli <[EMAIL PROTECTED]> > wrote: > > > Are you sure about the code where you set the dataprovider to be 100% > > correct as I have never encountered such a scenario of no serialization. > > > > One quick recall i have is that flex was not able to de-serialize date > > types > > when used with a dotnet webservice, > > it rather takes them as a string. > > > > Can you let us know the communication mechanism you are using for this? > > ( webservices or remoting) > > > > Regarding a serializing utility, maybe this post can help you > > http://www.darronschall.com/weblog/archives/000247.cfm > > > > ~Peeyush > > > > > > > > > > > > > > On Feb 20, 2008 5:16 AM, [p e r c e p t i c o n] <[EMAIL PROTECTED]> > > wrote: > > > > > hI experts, > > > i've created a Java Object that returns an array list of items to my > > > flex app...however even though I set the dataprovider attribute correctly > > > none of the data actually renders...a quick glance at the data using the > > > debugger shows that the objects are there so i think they'renot being > > > deserialized properly...can anyone tell me how to achieve this? i've > > > created the client side object in AS, but still not sure why it's not > > > working... > > > thanks > > > > > > p > > > > > > btw i'm using FB3 > > > > > > cheers > > > > > > > > > > > -- > Regards, > Sujit Reddy. G > >

