-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
What is the best way to customise the "processing..." box. This appears when the system is busy, like an hour glass. The little box containing the word "processing" appears in the top left hand corner, where it is difficult to notice it.
It would be good to make the "Processing..." box larger and/or make it appear in a more central location to make it more noticeable. Can I do this using a style sheet or some other customisation?
Thanks,
James
For positioning this can help you:
zk.xml
<!-- ====================================================== --> <!-- Displays the wait indicator on every user action --> <!-- ====================================================== --> <library-property> <name>org.zkoss.zul.progressbox.position</name> <value>center</value> </library-property> <client-config> <processing-prompt-delay>1</processing-prompt-delay> </client-config>
best
Stephan
Hi,
changing the position is straightforward:
Other customizations aren't that easy:
http://www.zkoss.org/forum/listComment/10981
Cheers, Maik
Hi Stephan and Maik
That's excellent help thanks!
I have opted for the <value>center</value> approach and it works. It would be nice to have config options for "widgth" and "length" / "size" value, and so on, but I guess that's a feature request.
Cheers,
James
hello everybody...
Can we change Progressbox label dynamically ???
Thank You In Advance,
Rohit
An easy way is to use highlight window and a Timer component to simulate when you need to do a long operation(in a separate thread). The onTimer event will be called periodically, and you do some updates to the highlight window etc. When the operation is done, detach the highlight window and the Timer.
Hi henrichen,
Can u send me any sample code please...
Thanks in advance
Rohit
Asked: 2010-08-24 03:02:29 +0800
Seen: 1,441 times
Last updated: Dec 02 '10