Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DataGrid With RemoteObject

 
Booma Devi
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In the flex, Remote server is not displaying the datas to DataGrid... Below is the program...

DGridClient.mxml




Remoting-config.xml



Services-config.xml



Person.Java

PersonDao.Java

 
Praveen Kumar M K
Ranch Hand
Posts: 256
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seems to me that you are missing a vital piece of information while you're creating the RemoteObject. Check again!
 
Booma Devi
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks praveen... I need to map the java object with action script object...
 
Praveen Kumar M K
Ranch Hand
Posts: 256
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks,
Praveen.
 
Booma Devi
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply praveen...

My code is running now... :-)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic