JS error thrown after moving Panel

asked 2014-11-09 14:23:36 +0800

peterg4000 gravatar image peterg4000
30 2

I am currently using zk 7.0.0 CE. (I have asked in another thread how to upgrade!)

I am building an interface with multiple movable/adjustable panels.

I have just discovered that a JavaScript error is thrown from zk code when I move a Panel, and all my client-side code seems to stop functioning after that.

I am assuming this error is causing my other client-side code not to run. (I am guessing that's normal for a js error?)

Below is a minimal zul example that causes the error to be thrown in Chrome, after you drag the panel at all and release it. Error visible in Developers console.

    <panel title="Panel" floatable="true" movable="true">
        <panelchildren>Panel text</panelchildren>

The error in the Chrome console is:

Uncaught ReferenceError: wgt is not defined

in zul.wnd.wpd

The code snippet causing the issue seems to be the wgt reference here:



delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-11-09 15:09:31 +0800

Darksu gravatar image Darksu
1991 1 4

Hello peterg4000,

This seems to be a reported bug and has been fixed on version 7.0.2


Could you please upgrade your environment and retest it?

Best Regards,


link publish delete flag offensive edit


Thanks. Will do. Once I figure out the project upgrade process under Eclipse...

peterg4000 ( 2014-11-09 20:50:45 +0800 )edit

Ahhh, so Window -> Preferences -> ZK Package to update... All fixed. Thanks so much.

peterg4000 ( 2014-11-09 20:58:12 +0800 )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

1 follower



Asked: 2014-11-09 14:23:36 +0800

Seen: 5 times

Last updated: Nov 09 '14

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