Many of my GUIs need some configuration before they can be built.
What I do in Application.js is this.
var rpc = myapp.RpcServer.getInstance();
var root = this.getRoot();
rpc.callAsync(function(cfg){
root.add(new myapp.Desktop(cfg));
},'getConfig');
this works well, except when there is an exception in the
myapp.Desktop class, the error messages I get from qooxdoo are
rather ugly looking because of the callback and all ...
is there a better way to build the gui only after getting some rpc
response and still have 'NICE' errors when things break?
cheers
tobi
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel