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; }
function setUp() { var idUnit = "id"; Seam.Component.getInstance("rocketCenterAction").setUp(idUnit, setUpCallback); } function setUpCallback(result) { alert(result); <===HERE HOW TO USE MY LIST? }
Collection objects (such as Lists, Arrays) are unmarshalled as arrays on the client.