0

How to override "Processing" text in ZK5

asked 2010-06-09 02:31:30 +0800

enixser gravatar image enixser
185 3

Is there a way to override/customize the text of the processing box in ZK5?

I've done some customizations of the appearance with CSS. The only thing that is missing is the text content of the box.

I found a file msgzk.js in the sources where the text is defined. Is there a way to override this?

Ralf.

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2010-06-09 03:19:27 +0800

PeterKuo gravatar image PeterKuo
481 2

I searched "customize processing" in the database search.

ZK5 How to customize progress box?
http://www.zkoss.org/forum/listComment/10981

link publish delete flag offensive edit

answered 2010-06-09 04:39:22 +0800

enixser gravatar image enixser
185 3

I know this post, but it is not the answer to my question. The post describes how to customize the appearance and the position of the progessbox.

Of course, I could override the zUtl.progressbox function and hardcode the string in that function. But that is not very elegant and the fact that this function has a parameter "msg" that is passed into this function shows that the displayed message comes from somewhere outside the function.

I'm looking for a solution where I can override the message definition and leave the progressbox definition untouched. Is this possible?

link publish delete flag offensive edit

answered 2010-06-09 05:54:35 +0800

PeterKuo gravatar image PeterKuo
481 2

No simple configuration to override such msg.

You may unzip the jar and modify msgzk.js directly.

link publish delete flag offensive edit

answered 2011-03-31 18:16:23 +0800

vendmr gravatar image vendmr
3

updated 2011-03-31 18:18:03 +0800

Hi,

I found a way to do at least hide the text and use a graphic only if that helps. I overrode the following styles (zk 5):

.z-loading {
background-color: transparent;
border: 0px;
padding: 0px;
height: 35px;
width: 35px;
background-image: url(${c:encodeURL(c:cat3('~./',project,'/zk/progress2.gif'))});
}

.z-loading-indicator {
border: 0px;
display:none;
}

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-06-09 02:31:30 +0800

Seen: 640 times

Last updated: Mar 31 '11

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