-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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">
<grid>
<rows>
<row>
<vbox height="900px">
<textbox width="400px" id="tb1Id" value="Please scroll down and click the Validate button"/>
</vbox>
</row>
<row>
<textbox id="tb2Id" width="400px" constraint="no empty" />
</row>
<row>
<separator/>
</row>
<row>
<button label="Validate" width="150px" onClick="tb1Id.value = tb2Id.getValue()"/>
</row>
</rows>
</grid>
</window>
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.
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. :)
Yes, i have the same problem. All validation messages that are outside the browser view are not shown (zk 7.0.2).
Asked: 2014-07-21 08:41:25 +0800
Seen: 17 times
Last updated: Jul 24 '14
composite component help [closed]
EL in a forEach @command not working?
Different template for each grid row
Cardlayout animation is broken
Grid RowRender slow using 6.5.1 and sizable=true
setVisible(false), component will load or not
Decimalbox and doublebox value rounded on iPad
history management with page status