Can I set in runtime a new value to library property: org.zkoss.zk.ui.processMask.enabled:

asked 2018-04-23 23:14:16 +0800

andreasboos gravatar image andreasboos
105 3

Hi. Can I set in runtime a new value to library property: org.zkoss.zk.ui.processMask.enabled?

I try to do using the common way:

Library.setProperty("org.zkoss.zk.ui.processMask.enabled", "true");

without success. Only works changing in zk.xml.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-05-04 17:53:43 +0800

cor3000 gravatar image cor3000
6280 2 7

Hi Andreas,

as the documentation states changes to this flag can be made in zk.xml.

Runtime changes have no effect, because this flag is evaluated only during javascript packaging for the cached wpd files.

I assume you don't want to flush the caches - impacting the performance negatively.

Instead you can set this flag at client side directly.


from java code:


This will have immediate effect for the next ajax request taking longer than the processing-prompt-delay (default 900ms).

Checkout this zkfiddle example: http://zkfiddle.org/sample/2aguncf/1-toggle-processing-mask

Questions? ;)


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




Asked: 2018-04-23 23:14:16 +0800

Seen: 7 times

Last updated: May 04 '18

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