[jboss-user] [JBoss Seam] - callback function parameter

kgoedert do-not-reply at jboss.com
Fri Mar 9 12:25:18 EST 2007


Hi all,

this may not be the right place to ask but there it goes...

If I have js functions like this in the example on the docs

function sayHello() {
      var name = prompt("What is your name?");
      Seam.Component.getInstance("register").sayHello(name, sayHelloCallback);
    }

    function sayHelloCallback(result) {
      alert(result);
    }

How can I pass extra parameters to the callback function?

Thanks

Kelly

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026676#4026676

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026676



More information about the jboss-user mailing list