0

How to hide zk progressmeter

asked 2015-04-20 10:35:45 +0800

meerkat gravatar image meerkat
15 4

I try following code

<?page contentType="text/html;charset=UTF-8"?>
<zk>
    <window>
        <progressmeter id="progressmeter" visible="false" />
    </window>
</zk>

But in browser console I've got following error

Uncaught TypeError: Cannot read property 'animate' of undefined

I also try to hide progressmeter using Java code, but nothing happens

progressmeter.setVisible( false );
delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-04-21 02:38:59 +0800

cor3000 gravatar image cor3000
6280 2 7

Hi Meerkat,

I ran your example on zkfiddle There I could verify it works on the latest ZK 6.5.7 and 7.0.5. I noticed the described error only using version 7.0.3 (7.0.2/7.0.4 both work). I found the related JIRA issue and commit in the zk git repo.

Robert

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

Follow
1 follower

RSS

Stats

Asked: 2015-04-20 10:35:45 +0800

Seen: 15 times

Last updated: Apr 21 '15

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