0

"Processing..." box customisation

asked 2010-08-24 03:02:29 +0800

Jameszk gravatar image Jameszk
48 1

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

delete flag offensive retag edit

6 Replies

Sort by ยป oldest newest

answered 2010-08-24 03:25:20 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

For positioning this can help you:

zk.xm
l

	<!-- ====================================================== -->
	<!--   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

link publish delete flag offensive edit

answered 2010-08-24 03:29:00 +0800

mjablonski gravatar image mjablonski
1284 3 5
http://www.jease.org/

Hi,

changing the position is straightforward:

http://books.zkoss.org/wiki/ZK_Configuration_Reference/zk.xml/The_library-property_Element/Library_Properties#org.zkoss.zul.progressbox.position

Other customizations aren't that easy:

http://www.zkoss.org/forum/listComment/10981

Cheers, Maik

link publish delete flag offensive edit

answered 2010-08-24 03:56:13 +0800

Jameszk gravatar image Jameszk
48 1

updated 2010-08-24 03:56:32 +0800

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

link publish delete flag offensive edit

answered 2010-12-02 01:44:34 +0800

rohitwadke gravatar image rohitwadke
339 1 5

hello everybody...
Can we change Progressbox label dynamically ???

Thank You In Advance,
Rohit

link publish delete flag offensive edit

answered 2010-12-02 19:43:50 +0800

henrichen gravatar image henrichen
3869 2
ZK Team

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.

link publish delete flag offensive edit

answered 2010-12-02 22:15:05 +0800

rohitwadke gravatar image rohitwadke
339 1 5

Hi henrichen,

Can u send me any sample code please...

Thanks in advance
Rohit

link publish delete flag offensive edit
Your reply
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

RSS

Stats

Asked: 2010-08-24 03:02:29 +0800

Seen: 1,441 times

Last updated: Dec 02 '10

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