| Author |
DataGrid With RemoteObject
|
Booma Devi
Ranch Hand
Joined: Nov 02, 2011
Posts: 61
|
|
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
Joined: Jul 03, 2011
Posts: 256
|
|
|
Seems to me that you are missing a vital piece of information while you're creating the RemoteObject. Check again!
|
 |
Booma Devi
Ranch Hand
Joined: Nov 02, 2011
Posts: 61
|
|
|
Thanks praveen... I need to map the java object with action script object...
|
 |
Praveen Kumar M K
Ranch Hand
Joined: Jul 03, 2011
Posts: 256
|
|
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
Joined: Nov 02, 2011
Posts: 61
|
|
Thanks for your reply praveen...
My code is running now... :-)
|
 |
 |
|
|
subject: DataGrid With RemoteObject
|
|
|