I'm trying to extend the rpc class to have it pass a name and pw
I can't find any docs on what the variable arguments is used for.
I am trying to override callSync so it calls the super call Sync and
adds two parameters. Any ideas?
qx.Class.define("qxwebapp.rpc.Rpc",
{
extend : qx.io.remote.Rpc,
members :
{
uname : null,
passwd: null,
callSync: function(methodName){
this.debug('my sync call');
this.debug('args: '+qx.util.Json.stringify(arguments));
for (var i in arguments) this.debug('i: '+arguments[i]);
this.debug('type args: '+typeof(arguments));
arguments.callee.base.apply(this, arguments, 'john','password');
//this.base(arguments, 'john', 'password');
}
}
});
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel