|
Well in your saveData function you’re
not passing in myDP but saveDP which doesn’t exist anywhere else. I’m
assuming there must be some typos in here from your debugging so it’s
hard to see the problem. There’s no reason why there would be a
_remoteClass attributes since you don’t have one in your value object,
and you don’t need one since you’re using registerClass. You assigned the array of VOs in your result
handler of the RemoteObject didn’t you? I’m not sure what you’re
expecting to get back from your RemoteObject since the AS object clearly doesn’t
match what you’re doing with a dataprovider later. The dataProvider wants
objects with a “price” property which we don’t see in the VO
(nor irmonth and some of the other things you’re trying). So I’m having a hard time figuring
out what could be wrong, you’re gonna need to break this down into a simple
example. Matt From: Thanks for the response. I don't think
that is the problem. I think the problem is even though I have mapping between
java vo and AS vo it seems not working. When I check network monitoring I did
not find _remoteClass attribute. Please help me in fixing this problem. I am
attaching my code for your reference. I have one gen question about mapping
between java vo and AS vo. My java class returning an array of vos. In my AS vo
I declared an array and then Object.registerClass( ) method. No where in my
mxml I referenced the array of AS vo. How array is assigned to data provider automatically
without me assigning it. I am confused over this. Thanks! Yahoo! Groups Links
|

