How can I see in the Reference (Chapter 7), I can get "result" by :
function sayHello() { var name = prompt("What is your name?"); Seam.Component.getInstance("helloAction").sayHello(name, sayHelloCallback); } function sayHelloCallback(result) { alert(result); }
List<SomeObject>("SomeObject" is not @Entity. It's a simple JavaBean(2 fields, setters and getters)), when I'll take "result" as Javascript Array filled VOID objects ... What can I do for avoid that?
This should just work. The result should be an array of SomeObject objects - what do you mean by "Javascript Array filled VOID objects" ?