Validation message is not shown every time. It depends on the height of the browser window.

asked 2014-07-21 08:41:25 +0800

salbader gravatar image salbader
15 5

Please try the attached example in the ZK Sandbox. You won't see the validator message when the browser size is like 1024 x 768. It works fine when the browser size is like 2048 x 1152.

<window mode="modal" closable="true">
            <vbox height="900px">
                <textbox width="400px" id="tb1Id" value="Please scroll down and click the Validate button"/>
            <textbox id="tb2Id" width="400px" constraint="no empty" />
            <button label="Validate" width="150px" onClick="tb1Id.value = tb2Id.getValue()"/>


delete flag offensive retag edit

3 Answers

Sort by ยป oldest newest most voted

answered 2014-07-21 12:52:53 +0800

mathieuk1 gravatar image mathieuk1

updated 2014-07-21 12:56:36 +0800

Hello, I am facing the same problem. I reckon the validation message acts normaly only if the conponent (Textbox here) is visible (without scrolling) when the screen is loaded.

I am also seeing some differences in behaviours between my developments (zk6) and the zk sandbox.

In my case, if I focus, then unfocus a component which isn't visible without scrolling, the validation message appears as it should. However, it disappear as soon as I scroll the page. It works fine for a conponent visible without scrolling.

link publish delete flag offensive edit


can't reproduce the remaining difference in ZK 7.0.2. Could you provide some sample code??

JerryChen ( 2014-07-24 08:58:25 +0800 )edit

answered 2014-07-24 08:54:58 +0800

JerryChen gravatar image JerryChen
1596 3
ZK Team

This is a ZK 7.0.2 bug. I have posted the issue to the tracker.

http://tracker.zkoss.org/browse/ZK-2371 Please keep tracking on it. :)

link publish delete flag offensive edit

answered 2014-07-24 09:00:06 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16

Yes, i have the same problem. All validation messages that are outside the browser view are not shown (zk 7.0.2).

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: 2014-07-21 08:41:25 +0800

Seen: 17 times

Last updated: Jul 24 '14

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