How to Make component visibility In ZK8?

asked 2016-05-11 05:59:17 +0800

Pattu gravatar image Pattu
3 2

Hi all, I am upgrading my project from Zk6 to Zk8,in Zk6 i have used Visible option to show and hide components but Zk8 is not supporting visible option.Can any one suggest which method need to use instead of Visible in Zk8?

delete flag offensive retag edit


What do you mean? The visible attributen is still there on components

chillworld ( 2016-05-12 04:18:25 +0800 )edit

<groupbox mold="3d" closable="true"> <caption image="/images/icons/view.gif" label="${c:l('common.PharmacyOrder')}" /> <h:table width="100%" id="tbl_outpatient" visible="false">

Pattu ( 2016-05-13 04:08:43 +0800 )edit

The above one is my code if i use visible="false" here i am getting window id with component id in front end.This happens happens only in Zk8,previously with Zk6 its works fine.I can able to solve this issue by removing visible mode in zul but if i set from ctrl still same.FYI i am new to ZK

Pattu ( 2016-05-13 04:10:33 +0800 )edit

The h stands for native tag?

chillworld ( 2016-05-13 05:06:13 +0800 )edit

yes which is native Tag

Pattu ( 2016-05-13 06:35:45 +0800 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2016-05-14 15:18:51 +0800

Darksu gravatar image Darksu
1991 1 4

Hello Pattu,

You could always put it a div and set the visibility of the div as you wish.

Best Regards,


link publish delete flag offensive edit

answered 2016-05-17 04:32:57 +0800

Pattu gravatar image Pattu
3 2

Hi all,

Thanks Mr.chillworld and Mr.Darksu,i changed my components to group-box so its works fine.Thanks again.

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

1 follower



Asked: 2016-05-11 05:59:17 +0800

Seen: 33 times

Last updated: May 17 '16

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