Re: [qooxdoo-devel] How to catch the throw from Widget.renderLayout

2015-06-26 Thread Cyril
Hi Mustafa, Thank you for your answer, this is a good trick but we were hoping for a more classical solution, I don't think this should be the right way to catch an error. Anyway problem solved :) Thx again -- View this message in context: http://qooxdoo.678.n2.nabble.com/How-to-catch-the-th

Re: [qooxdoo-devel] How to catch the throw from Widget.renderLayout

2015-06-26 Thread Mustafa Sak
afa@1und1.de | Web: www.1und1.de -Ursprüngliche Nachricht- Von: Cyril [mailto:cyril.du...@effigenie.com] Gesendet: Freitag, 26. Juni 2015 14:47 An: qooxdoo-devel@lists.sourceforge.net Betreff: [qooxdoo-devel] How to catch the throw from Widget.renderLayout Hi all ! When we forgot to s

[qooxdoo-devel] How to catch the throw from Widget.renderLayout

2015-06-26 Thread Cyril
Hi all ! When we forgot to set a layout to a widget, the renderLayout function throw an error (Widget.js, method renderLayout line 1059 of current build) But I don't know how to catch this throw. This is not in the widget constructor, not in the parent constructor, I also tried every piece of