var logindata = { bnt_benutzerlogin : bnt_benutzerlogin.getValue(), bnt_passwort : bnt_passwort.getValue() };
Note that this is not an array, you are using an object. To use an array instead you should do something like: var logindata = [bnt_benutzerlogin.getValue(), bnt_passwort.getValue()]; Mustafa Sak wrote: > > this.loginantwort = this.rpc.callSync("login", logindata); > Note that using synchronous calls should be avoided whenever possible: they will likely block the browser [1] and make the application look like hanged, specially when using a slower network. Consider using asynchronous calls instead! ;-) Hope this helps, Helder Magalhães [1] http://www.oreillynet.com/xml/blog/2007/01/do_sync_calls_freeze_browsers.html -- View this message in context: http://www.nabble.com/More-effitient-Method-to-send-Arrays-to-RPC-PHP-tp21501562p21503386.html Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel