No straightforward way to know whether a popup is open/visible or not

asked 2009-01-27 10:14:28 +0800

cvarona gravatar image cvarona
554 1 6


I'm not completely sure but to the best of my knowledge there is no way to tell whether a popup is open or visible but by setting up an 'onOpen' listener; I mean Popup.isVisible() seems to return always false, even if the popup is open and visible. In order to have a reliable isVisible() implementation I think it would suffice to replace

        public void open(Component ref) {
		response("popup", new AuPopup(this, ref));


public void open(Component ref) {
<b >                super.setVisible( true );</b>
		response("popup", new AuPopup(this, ref));

Am I wrong by supposing this? Or is there any reason making it advisable to let isVisible() return always false?

With kind regards

César Varona

delete flag offensive retag edit

1 Reply

Sort by » oldest newest

answered 2009-01-30 03:01:52 +0800

henrichen gravatar image henrichen
3869 2
ZK Team

Would you post this to ZK Features? Thanks.

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




Asked: 2009-01-27 10:14:28 +0800

Seen: 152 times

Last updated: Jan 30 '09

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