In your ZUL page, right after the main window declaration. No need to add something in your view model (or the composer) class:
<window id="mainWindow">
<attribute name="onCreate">
Clients.clearBusy();
</attribute>
...
...
</window>
To be honest i have used it only as a window attribute. But i don't think you will have any problem if you wrap your border layout inside a main window. So your zul code should look like: <window> <attribute name="onCreate">....</attribute> <borderlayout>......</borderlayout> </window>
cyiannoulis ( 2014-06-11 10:39:34 +0800 )edit