[jboss-user] [JBoss Seam] - Seam Remoting and own Map
Stateless Bean
do-not-reply at jboss.com
Fri Mar 30 12:06:42 EDT 2007
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#4033253
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033253
More information about the jboss-user
mailing list