im testing callAsyncListeners now.
here's the code:
rpcListenerTest: function()
{
var rpc = new qxgui.utils.Rpc;
rpc.callAsync( "getMenuXml" );
rpc.addListener( "completed", function(e)
{
var xml = new qxgui.utils.XML();
xml.setDocument( e.getData() );
alert( xml.isXmlDocument() ); // false
qxgui.utils.Vars.dump( e.getData() ); // object
});
}
to avoid questions about rpc.callAsync heres the code of the method:
callAsync: function( method, args )
{
this.__rpc.callAsyncListeners( true, method, args );
}
now to my question. the api says that i get a JSON-RPC result on success, is
it different than the result of the callback-function in callAsync(...) ?
--
View this message in context:
http://n2.nabble.com/going-crazy-...-%28-callback-again-%29-tp2815007p2827511.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel