This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Seems to me that you are missing a vital piece of information while you're creating the RemoteObject. Check again!
Joined: Nov 02, 2011
Thanks praveen... I need to map the java object with action script object...
Praveen Kumar M K
Joined: Jul 03, 2011
Hi Booma Devi,
I dint mean that actually I was referring to line 28 in the first mxml where you have <mx:RemoteObject id="serv" destination="remoteGrid" fault="faultHandler(event)"/> defined. Here I dont see a result handler being declared, so I thought that would be the mistake.
As you have used the same strings('name', 'age') in datafields of mxml as well as attributes of class Person, I dont think there is a need to create an actionscript mapping class.