Leif_Bork
1 Sep 2010, 3:30 AM
When I run
MessageBox messageBox = MessageBox.wait(a, b, c);
[Then execute code.]
messageBox.close();
Then the code is executed before the waiting dialog is rendered. It should, of course, be executed afterwards.
How can I implement this correctly, not making it a race condition?
(What events does a Dialog fire after render? Any methods I can override in Dialog that will make this work? I already tried overriding both afterRender and onRender. Events are incredibly poorly documented! )
Please, help!
MessageBox messageBox = MessageBox.wait(a, b, c);
[Then execute code.]
messageBox.close();
Then the code is executed before the waiting dialog is rendered. It should, of course, be executed afterwards.
How can I implement this correctly, not making it a race condition?
(What events does a Dialog fire after render? Any methods I can override in Dialog that will make this work? I already tried overriding both afterRender and onRender. Events are incredibly poorly documented! )
Please, help!