I'd like to implement a long operation on my zul, because I have an operation that lasts a few seconds. I'm using MVVM so I'd wanted to invoke Clients.showBusy and update the messages like 'Starting...', 'Fetching data...', 'Almost finished...' until the operation is finished, disabling any user interaction during this time.

Now when I click the button to do that, the 'Processing...' message appears and the page components are still enabled to interact. I've seen some examples using a timer and Thread.sleep() on ZK Fiddle but I couldn't get it.

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!