0

Clients.showBusy

asked 2017-04-14 11:51:15 +0800

psinalberth gravatar image psinalberth
52 6

updated 2017-04-14 11:51:40 +0800

Hi,

I'm writing some code and I'd like to notify user some tasks are running and avoid user interaction for a while, so Clients.showBusy seems a good choice, but I'm facing some problems:

  1. I'd like to invoke Clients.showBusy and keep it for 5 seconds, then update some property and detach it.

  2. How to change its location? I'm using MVVM so I have no wire components, but I'd like to show it on center, but it is always appearing on top-left corner. I tried to override some css rules but it didn't work.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-04-15 08:21:58 +0800

Darksu gravatar image Darksu
1991 1 4

updated 2017-04-15 08:22:55 +0800

Hello ,

You can change the zk.xml by adding the following:

<library-property>

   <name>org.zkoss.zul.progressbox.position</name>
   <value>center</value>

</library-property>

Best,

Darksu

link publish delete flag offensive edit

Comments

Thanks @Darksu! It helped me a lot!

psinalberth ( 2017-04-17 15:40:52 +0800 )edit
Your answer
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)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2017-04-14 11:51:15 +0800

Seen: 32 times

Last updated: Apr 15 '17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More