Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 15th, 2011  |  syntax: JavaScript  |  size: 0.38 KB  |  views: 211  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Seam.Remoting.type.helloAction = function() {
  2.   this.__callback = new Object();
  3.   Seam.Remoting.type.helloAction.prototype.sayHello = function(p0, callback, exceptionHandler) {
  4.     return Seam.Remoting.execute(this, "sayHello", [p0], callback, exceptionHandler);
  5.   }
  6. }
  7. Seam.Remoting.type.helloAction.__name = "helloAction";
  8.  
  9. Seam.Component.register(Seam.Remoting.type.helloAction);
clone this paste RAW Paste Data