Hi,
If i got list of my own objects class and want to send it via ajax to client.
How can I parametrize it in js?
| class Person {
| private int age;
| private String name;
| }
in remote method i got List myOwnList = ....
if i recive result on client side
| function setUp() {
| var idUnit = "id";
| Seam.Component.getInstance("rocketCenterAction").setUp(idUnit,
setUpCallback);
| }
|
| function setUpCallback(result) {
| alert(result); <===HERE HOW TO USE MY LIST?
| }
|
i got "object Object" and don't know how to parametrize back to list=array
of objects.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033253#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...