Processing...

Suggested case list:

Using timer to refresh a grid

383guest172.69.33.12125nk0uiMay 7, 2020 7:23:47 AMlink

user model to move item to another listbox

120guest162.158.193.148d0n3krApr 2, 2020 5:28:28 AMlink

Disabled list item row passed to VM-1981

296fatih123160.83.36.13025nk0uiFeb 13, 2018 4:25:44 PMlink

Disabled list item row passed to VM-1981

295fatih123160.83.36.13025nk0uiFeb 13, 2018 4:25:16 PMlink

Disabled list item row passed to VM-1981

294fatih123160.83.36.13225nk0uiFeb 13, 2018 3:30:44 PMlink

grid sample with ListModel/RowRenderer

816guest80.82.2.1312vah9ajFeb 21, 2017 11:42:21 AMlink

grid sample with ListModel/RowRenderer

809guest175.98.113.1622vah9ajJan 26, 2017 9:19:33 AMlink

grid sample with ListModel/RowRenderer

196guest79.185.142.402vah9ajApr 26, 2014 10:53:57 PMlink

grid sample with ListModel/RowRenderer

195guest79.185.142.402vah9ajApr 26, 2014 10:53:54 PMlink

grid sample with ListModel/RowRenderer

194guest79.185.142.402vah9ajApr 26, 2014 10:53:51 PMlink

grid sample with ListModel/RowRenderer

193guest79.185.142.402vah9ajApr 26, 2014 10:53:48 PMlink

grid sample with ListModel/RowRenderer

192guest79.185.142.402vah9ajApr 26, 2014 10:53:44 PMlink

grid sample with ListModel/RowRenderer

191guest79.185.142.402vah9ajApr 26, 2014 10:53:40 PMlink

Hierarchy table without using ZK PE/EE

1aaknai151.28.135.2131s871daJul 29, 2013 11:02:46 PMlink

grid sample with ListModel/RowRenderer

128aaknai151.28.135.2132vah9ajJul 29, 2013 7:20:00 PMlink

user model to move item to another listbox

1TonyQ114.25.109.94d0n3krApr 21, 2012 10:43:27 AMlink

Using timer to refresh a grid

1TonyQ220.133.44.3725nk0uiFeb 17, 2012 3:17:34 AMlink

Fire a event from child iframe

1TonyQ220.133.44.372eupjotFeb 3, 2012 5:04:52 AMlink

Textbox input restriction sample

1TonyQ72.21.245.2431b3nlr0Dec 20, 2011 10:09:10 AMlink

Test web core taglib in ZUL

1TonyQ198.203.175.175ofqkemDec 17, 2011 3:36:08 AMlink

Latest 10 Fiddles :

constraint binding textbox

3guest172.68.151.16220peldaDec 5, 2025 5:08:19 PMlink

Another new ZK fiddle

2guest172.68.151.16320peldaDec 5, 2025 5:07:51 PMlink

Another new ZK fiddle

1guest172.68.151.16220peldaDec 5, 2025 5:07:32 PMlink

Another new ZK fiddle

1peggypeng172.71.154.99364f4neDec 5, 2025 9:24:31 AMlink

tooltip example

2guest104.22.23.13rc1ntoDec 4, 2025 2:23:45 PMlink

Another new ZK fiddle

1guest172.69.134.2277t7602Dec 4, 2025 1:40:46 PMlink

Another new ZK fiddle

1peggypeng104.22.17.1802df6e3oDec 4, 2025 8:41:29 AMlink

onClose

1peggypeng172.68.87.248j8kd8aDec 3, 2025 4:10:26 AMlink

Another new ZK fiddle

1peggypeng172.69.134.2271rm7f4eNov 26, 2025 3:31:24 AMlink

ZK-5912-Suggestion

2rebeccalai104.22.20.1442qrmiiuNov 26, 2025 2:07:15 AMlink

New quick orders

510okspry134.68.31.2272q0rn3uOct 8, 2012 8:59:23 PMlink

resources

index.zulzul <zk xmlns:w="client"> <script> function show(thingid) { var zkwidget = zk.Widget.$('$'+ thingid); //zk zkwidget.setVisible(true); } function hide(thingid) { var zkwidget = zk.Widget.$('$'+ thingid); //zk zkwidget.setVisible(false); } function addCBC(thingid) { var withDiffWidget = zk.Widget.$('$withDiff'); var noDiffWidget = zk.Widget.$('$noDiff'); var popupCBCWidget = zk.Widget.$('$popupCBC'); var addCBCWidget = zk.Widget.$('addCBC'); var inCartCBCLabelWidget = zk.Widget.$('inCartCBCLabel'); var zkwidget = zk.Widget.$('$'+ thingid); //zk if (withDiffWidget.isChecked() || noDiffWidget.isChecked()) { show('inCartCBCLabel'); show('cartCBC'); hide('addCBC'); }else{ popupCBCWidget.open(addCBCWidget, null, "at_pointer"); } } </script> <style> .goldLink { color:#9B914C; } .top.z-button .z-button-tl, .top.z-button .z-button-tr, .top.z-button .z-button-bl, .top.z-button .z-button-br, .top.z-button .z-button-tm, .top.z-button .z-button-bm, .top.z-button .z-button-cl, .top.z-button .z-button-cr { background-image:none; } .selected.z-button .z-button-tl, .selected.z-button .z-button-tr, .selected.z-button .z-button-bl, .selected.z-button .z-button-br, .selected.z-button .z-button-tm, .selected.z-button .z-button-bm, .selected.z-button .z-button-cl, .selected.z-button .z-button-cr { background-image:none; } .selected.z-button .z-button-cm { background-image:none; background: transparent; box-shadow:0px 0px 0px 1px #7A8C96 inset, 0px 16px 7px 3px #576873 inset; border:1px solid #44555F; border-radius:8px; color:#c7c7c7; text-shadow:1px -1px #44555F; font-weight:bold; font-family:helvetica; } .top.z-button .z-button-cm { background-image:none; background: transparent; box-shadow:0px 0px 0px 1px #7A8C96 inset; border:1px solid #44555F; border-radius:8px; color:#fff; text-shadow:-1px 1px #44555F; font-weight:bold; font-family:helvetica; } .infopanel.z-tab .z-tab-text{ font-size:1.11em; } </style> <columnlayout> <columnchildren width="59%" height="100%" style="margin-right:5px;"> <panel> <panelchildren> <div style="padding-top:.5em; padding-bottom:.5em; box-shadow:0px -26px 0px 2px #647884 inset; background: -webkit-gradient(linear, 0% 0%, 0% 84%, from(#7A8C96), to(#647884)); "> <button label="Orders" sclass="selected" id="orders" style="width:8em; height: 2.5em; font-size:1em; margin-left:35%"/> <button label="Sign" sclass="top" id="sign" style="padding-left:.5em; width:8em; height: 2.5em; font-size:1em;"/> </div> <borderlayout id="quickOrdersMenu" height="32.4em"> <north border="none"> <div style="background:#fff; padding-left:.4em; border-bottom:1px solid #bbb; padding-bottom:.5em; padding-top:.5em;"> <label value="Quick Orders Menu" style="font-size:1.3em; font-family:times new roman; color:ddd;"/> <hlayout style="padding-top:.1em;"> <label value="Scroll to" style="padding-right:4px; padding-left:4px; font-size:.9em; color:grey;"/> <a label="Labs" sclass="goldLink" style="padding-left:1em; font-size:.9em;"/> <a label="Radiology" sclass="goldLink" style="padding-left:1em; font-size:.9em;"/> <a label="Medications" sclass="goldLink" style="padding-left:1em; font-size:.9em;"/> <a label="Nursing orders" sclass="goldLink" style="padding-left:1em; font-size:.9em;"/> </hlayout> </div> </north> <center border="none" autoscroll="true"> <div> <div sclass="header" style="z-index:1; padding:.24em; background-image:none; background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fbfbfb), to(#eee)); box-shadow:0px 4px 0px 14px #ccc; text-shadow:-1px 1px #eee; border:1px solid #ddd; opacity:.9; color:#666;"> <label value="Labs" style="font-weight:bold; font-size:1em;"/> </div> <div sclass="headerFixed" visible="false" style="z-index:1; padding:.24em; background-image:none; background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fbfbfb), to(#eee)); text-shadow:-1px 1px #eee; border:1px solid #ddd; opacity:.9; color:#666;"> <label value="Labs" style="font-weight:bold; font-size:1em;"/> </div> <listbox style="z-index:-1; border-top:none; border-left:none; border-right:none;"> <listitem> <listcell> <checkbox style="padding-right:2%"/> <label value="EKG #1" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> <a label="Last resulted 5/15/2012 (3 months ago)" style="float:right; margin-right:1.5em; font-size:1.15em; text-decoration:underline; "/> </listcell> </listitem> <listitem> <listcell> <checkbox style="padding-right:2%"/> <label value="EKG #2" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> <a label="Last resulted 5/15/2012 (3 months ago)" style="float:right; margin-right:1.5em; font-size:1.15em; text-decoration:underline; "/> </listcell> </listitem> <listitem> <listcell> <checkbox id="addCBC" w:onClick="addCBC()" style="padding-right:2%"/> <label id="inCartCBCLabel" value="In cart" visible="false" style="padding-left:2.7% ;padding-right:4.6%; color:grey"/> <label value="CBC " style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> <label value="with Diff" style="padding-right:10px; font-size:1.15em;"/> <a label="Last resulted 5/22/2012 (3 months ago)" style="float:right; margin-right:1.5em; font-size:1.15em; text-decoration:underline; "/> </listcell> </listitem> <listitem> <listcell> <checkbox w:onClick="addCBC()" style="padding-right:2%"/> <label value="In cart" visible="false" style="padding-left:2.7% ;padding-right:4.6%; color:grey"/> <label value="CBC " style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> <a label="Last resulted 8/20/2012 (3 days ago)" style="float:right; margin-right:1.5em; font-size:1.15em; text-decoration:underline; "/> </listcell> </listitem> <listitem> <listcell> <checkbox style="padding-right:2%"/> <label value="BMP" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> </listcell> </listitem> <listitem> <listcell> <checkbox style="padding-right:2%"/> <label value="CMP" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> </listcell> </listitem> <listitem> <listcell> <checkbox style="padding-right:2%"/> <label value="Lipase" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> </listcell> </listitem> <listitem> <listcell> <checkbox style="padding-right:2%"/> <label value="CK/CK-MB" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> </listcell> </listitem> </listbox> <div style="z-index:1; padding:.24em; margin-top:-.3em; background-image:none; background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fbfbfb), to(#eee)); text-shadow:-1px 1px #eee; border:1px solid #ddd; opacity:.9; color:#777;"> <label value="Radiology" style="font-weight:bold; font-size:1em;"/> </div> <listbox style="z-index:-1; border-top:none; border-left:none; border-right:none;"> <listitem> <listcell> <checkbox style="padding-right:2%"/> <label value="EKG #1" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> <a label="Last resulted 5/15/2012 (3 months ago)" style="float:right; margin-right:1.5em; font-size:1.15em; text-decoration:underline; "/> </listcell> </listitem> <listitem> <listcell> <checkbox style="padding-right:2%"/> <label value="EKG #2" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> <a label="Last resulted 5/15/2012 (3 months ago)" style="float:right; margin-right:1.5em; font-size:1.15em; text-decoration:underline; "/> </listcell> </listitem> </listbox> <div style="z-index:1; padding:.24em; margin-top:-.3em; background-image:none; background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fbfbfb), to(#eee)); text-shadow:-1px 1px #eee; border:1px solid #ddd; opacity:.9; color:#777;"> <label value="Medications" style="font-weight:bold; font-size:1em;"/> </div> <listbox style="z-index:-1; border-top:none; border-left:none; border-right:none; margin-top:1em;"> <listitem> <listcell> <checkbox style="padding-right:2%"/> <label value="EKG #1" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> <a label="Last resulted 5/15/2012 (3 months ago)" style="float:right; margin-right:1.5em; font-size:1.15em; text-decoration:underline; "/> </listcell> </listitem> <listitem> <listcell> <checkbox style="padding-right:2%"/> <label value="EKG #2" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> <a label="Last resulted 5/15/2012 (3 months ago)" style="float:right; margin-right:1.5em; font-size:1.15em; text-decoration:underline; "/> </listcell> </listitem> </listbox> <div style="z-index:1; padding:.24em; margin-top:-.3em; background-image:none; background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fbfbfb), to(#eee)); text-shadow:-1px 1px #eee; border:1px solid #ddd; opacity:.9; color:#777;"> <label value="Nursing Orders" style="font-weight:bold; font-size:1em;"/> </div> <listbox style="z-index:-1; border-top:none; border-left:none; border-right:none; margin-top:1em;"> <listitem> <listcell> <checkbox style="padding-right:2%"/> <label value="EKG #1" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> <a label="Last resulted 5/15/2012 (3 months ago)" style="float:right; margin-right:1.5em; font-size:1.15em; text-decoration:underline; "/> </listcell> </listitem> <listitem> <listcell> <checkbox style="padding-right:2%"/> <label value="EKG #2" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> <a label="Last resulted 5/15/2012 (3 months ago)" style="float:right; margin-right:1.5em; font-size:1.15em; text-decoration:underline; "/> </listcell> </listitem> <listitem> <listcell> <checkbox style="padding-right:2%"/> <label value="EKG #1" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> <a label="Last resulted 5/15/2012 (3 months ago)" style="float:right; margin-right:1.5em; font-size:1.15em; text-decoration:underline; "/> </listcell> </listitem> <listitem> <listcell> <checkbox style="padding-right:2%"/> <label value="EKG #2" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> <a label="Last resulted 5/15/2012 (3 months ago)" style="float:right; margin-right:1.5em; font-size:1.15em; text-decoration:underline; "/> </listcell> </listitem> </listbox> </div> </center> <south border="none"> <div hflex="1" style="position:fixed; border:1px solid #bbb; background-color:#eee; padding:10px; box-shadow:0px -2px 3px 0px #bbb;"> <button label="Order" id="orderBtn" w:onClick="show('ordersCart'), hide('quickOrdersMenu')" style="font-size:1em; width:6em; height:2em;"/> <a label="Cancel" style="font-size:1em; padding:1em; margin-top:-2em;"/> </div> </south> </borderlayout> <borderlayout id="ordersCart" height="32.4em" visible="false" > <north border="none"> <div style="background:#fff; border-bottom:1px solid #bbb; padding-bottom:.5em; padding-top:.5em;"> <label value="Your Cart" style="font-size:1.3em; font-family:verdana; color:ddd;"/> <hlayout style="padding-top:.1em;"> <label value="Order" style="padding-right:4px; padding-left:4px; font-size:.9em; color:grey;"/> <combobox value="All" mold="rounded" width="100px"/> <combobox value=" Pick from the numbered list or keep typing to search" width="400px" mold="rounded" style="margin-left:-7px;"/> <div style="width:10px; height:22px; margin-left:-405px; margin-top:0px; background-color:#fbfbfb; border-top:1px solid #bbb; border-bottom:1px solid #bbb;"> <div style="width:5px; height:18px; border-right:1px solid #bbb; margin-top:2px;"></div> </div> </hlayout> </div> </north> <center border="none" autoscroll="true"> <div> <div sclass="header" style="z-index:1; padding:.24em; background-image:none; background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fbfbfb), to(#eee)); text-shadow:-1px 1px #eee; border:1px solid #ddd; opacity:.9; color:#666;"> <label value="Labs" style="font-weight:bold; font-size:1em;"/> </div> <div sclass="headerFixed" visible="false" style="z-index:1; padding:.24em; background-image:none; background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fbfbfb), to(#eee)); text-shadow:-1px 1px #eee; border:1px solid #ddd; opacity:.9; color:#666;"> <label value="Labs" style="font-weight:bold; font-size:1em;"/> </div> <listbox style="z-index:-1; border-top:none; border-left:none; border-right:none;"> <listitem> <listcell> <label value="EKG #1" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> </listcell> </listitem> <listitem> <listcell> <label value="EKG #2" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> </listcell> </listitem> <listitem> <listcell> <label value="CBC " style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> <label value="with Diff" style="padding-right:10px; font-size:1.15em;"/> </listcell> </listitem> <listitem> <listcell> <label value="In cart" visible="false" style="padding-left:2.7% ;padding-right:4.6%; color:grey"/> <label value="CBC " style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> </listcell> </listitem> <listitem> <listcell> <label value="BMP" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> </listcell> </listitem> <listitem> <listcell> <label value="CMP" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> </listcell> </listitem> <listitem> <listcell> <label value="Lipase" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> </listcell> </listitem> <listitem> <listcell> <label value="CK/CK-MB" style="padding-right:10px; font-weight:bold; font-size:1.15em;"/> </listcell> </listitem> </listbox> <div style="z-index:1; padding:.24em; margin-top:-.3em; background-image:none; background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fbfbfb), to(#eee)); text-shadow:-1px 1px #eee; border:1px solid #ddd; opacity:.9; color:#777;"> <label value="Radiology" style="font-weight:bold; font-size:1em;"/> </div> <listbox style="z-index:-1; border-top:none; border-left:none; border-right:none; margin-top:1em;"> </listbox> <div style="z-index:1; padding:.24em; margin-top:-.3em; background-image:none; background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fbfbfb), to(#eee)); text-shadow:-1px 1px #eee; border:1px solid #ddd; opacity:.9; color:#777;"> <label value="Medications" style="font-weight:bold; font-size:1em;"/> </div> <listbox style="z-index:-1; border-top:none; border-left:none; border-right:none; margin-top:1em;"> </listbox> <div style="z-index:1; padding:.24em; margin-top:-.3em; background-image:none; background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fbfbfb), to(#eee)); text-shadow:-1px 1px #eee; border:1px solid #ddd; opacity:.9; color:#777;"> <label value="Nursing Orders" style="font-weight:bold; font-size:1em;"/> </div> <listbox style="z-index:-1; border-top:none; border-left:none; border-right:none; margin-top:1em;"> </listbox> </div> </center> </borderlayout> </panelchildren> </panel> </columnchildren> <columnchildren width="20%" style="margin-right:5px;"> <panel> <panelchildren> <vlayout> <listbox height="200px"> <listhead> <listheader label="Medications (6)" style="font-weight:bold; font-size:.9em; color:#888;"/> </listhead> <listitem> <listcell> <label value="Med 1" style="font-size:1.1em;"/> </listcell> </listitem> <listitem> <listcell> <label value="Med 2" style="font-size:1.1em;"/> </listcell> </listitem> <listitem> <listcell> <label value="Med 3" style="font-size:1.1em;"/> </listcell> </listitem> <listitem> <listcell> <label value="Med 4" style="font-size:1.1em;"/> </listcell> </listitem> <listitem> <listcell> <label value="Med 5" style="font-size:1.1em;"/> </listcell> </listitem> <listitem> <listcell> <label value="Med 6" style="font-size:1.1em;"/> </listcell> </listitem> </listbox> <listbox height="100px"> <listhead> <listheader label="Allergies (2)" style="font-weight:bold; font-size:.9em; color:#888;"/> </listhead> <listitem> <listcell> <label value="Erythromycin" style="font-size:1.1em;"/> </listcell> </listitem> <listitem> <listcell> <label value="Penicillin" style="font-size:1.1em;"/> </listcell> </listitem> </listbox> <listbox height="200px"> <listhead> <listheader label="Problems (6)" style="font-weight:bold; font-size:.9em; color:#888;"/> </listhead> <listitem> <listcell> <label value="Problem 1" style="font-size:1.1em;"/> </listcell> </listitem> <listitem> <listcell> <label value="Problem 2" style="font-size:1.1em;"/> </listcell> </listitem> <listitem> <listcell> <label value="Problem 3" style="font-size:1.1em;"/> </listcell> </listitem> <listitem> <listcell> <label value="Problem 4" style="font-size:1.1em;"/> </listcell> </listitem> <listitem> <listcell> <label value="Problem 5" style="font-size:1.1em;"/> </listcell> </listitem> <listitem> <listcell> <label value="Problem 6" style="font-size:1.1em;"/> </listcell> </listitem> </listbox> </vlayout> </panelchildren> </panel> </columnchildren> <columnchildren width="20%"> <panel> <panelchildren> <tabbox width="100%" height="39.2em"> <tabs> <tab label="Notifications" class="infopanel"/> <tab label="Stream" class="infopanel"/> <tab label="Apps" class="infopanel" /> </tabs> <tabpanels> <tabpanel> <div> <div height="250px" width="225px" style="border-radius:5px; border:1px solid grey; padding:5px"> <label value="Formulary" style="font-size:12pt; font-weight:bold; padding:7px" /> <div style="border-top:1px solid black;"> </div> </div> <div style="bottom:147px; padding-top:5px; padding-bottom:5px; padding-left:12px; padding-right:53px; height:30px;" > <label id="countdown" value="This will autohide in :08"/> <div> <a href="#" style="padding-right:7px;">Hide now</a> <a href="#" >Disable timer</a> </div> </div> <div style="padding-top:140px; padding-left:20px;"> <label value="2 more alerts" style="padding-right:8px;"/> <a label="previous" disabled="true"/> <a label="next"/> </div> </div> </tabpanel> <tabpanel> <div style="height:20px; padding-top:3px; margin-left:-5px; margin-right:-5px; border-bottom:1px solid #bbb; box-shadow:0px 1px 2px 0px #bbb;"> <a label="clear stream" style="margin-left:4px;"/> </div> <div style="margin-top:5px; border:1px solid #999;border-radius:8px; padding:7px;"> <label value="Alerts" style="font-size:1em; font-weight:bold;"/> <image src="http://www.famfamfam.com/lab/icons/silk/icons/cross.png" style="float:right;"/> <image src="http://www.famfamfam.com/lab/icons/silk/icons/bullet_arrow_up.png" style="float:right; margin-right:4px; border:1px solid #999; border-radius:3px; box-shadow:-1px 1px 1px 0px #bbb;"/> <div style="border-top:1px solid #999; margin-right:3px;"/> <div style="margin:3px; text-align:center; padding-top:4px; padding-bottom:4px; border-radius:8px; border:1px solid #71560B; background-color:#FDD342;"> <label value="Penicillin Allergy" style="font-size:1.05em; font-weight:bold; color:#71560B;"/> </div> <div style="margin:3px; text-align:center; padding-top:4px; padding-bottom:4px; border-radius:8px; border:1px solid #71560B; background-color:#FDD342;"> <label value="Metformin Allergy" style="font-size:1.05em; font-weight:bold; color:#71560B;"/> </div> </div> <div style="padding-top:7px; padding-bottom:7px;"> <div style="border:1px solid grey; border-radius:8px; width:97%; background-color:#f5f5f5; padding-bottom:5px; padding-left:5px; padding-top:5px;"> <div style="padding-left:5px; padding-top:6px;"> <label value="Suggestions for BAD BACK:" style="color:grey; font-weight:bold;" /> <div style ="padding:6px 7px;"> <a href="#" style="padding-bottom:4px; padding-top: 3px; color:grey;">Aspirin,</a> <a href="#" style="padding-bottom:4px; padding-top: 3px; color:grey;">Puke bucket,</a> <a href="#" style="padding-bottom:4px; padding-top: 3px; color:grey;">New spine</a> </div> </div> </div> </div> <div style="margin-top:5px; width:93.5%; border:1px solid #999;border-radius:8px; padding:7px; position:relative; bottom:6px;"> <div style="padding-bottom:5px; margin-left:3px;"> <div style="margin-left:1px; margin-top:6px;"> <label value="Sharing with Joseph McCleod" style="color:black; font-weight:bold; margin-right:35px;" /> <image src="http://www.famfamfam.com/lab/icons/silk/icons/cross.png" style="float:right; margin-top:-18px;"/> <vlayout style ="padding:6px 7px;"> <a href="#" style="padding-bottom:4px; padding-top: 3px; color:grey;">Joe </a> <a href="#" style="padding-bottom:4px; padding-top: 3px; color:grey;">Joe is changing the note</a> <a href="#" style="padding-bottom:4px; padding-top: 3px; color:grey;">Joe ordered Lisinopril</a> </vlayout> </div> </div> <div style="max-height:25%; width:97%; overflow-x:hidden; padding-top:7px; padding-left:4px; box-shadow:0px 2px 3px 0px #bbb inset;"> <div style="padding-bottom:4px; padding-top:7px; color:green;"> Michael O'Toole: My parrot told me to do it! </div> <div style="padding-bottom:4px; padding-top:7px; color:green;"> You: You might want to get checked out, Mikoko. </div> <div style="padding-bottom:4px; padding-top:7px; color:green;"> Michael O'Toole: Mikoko? </div> <div style="padding-bottom:4px; padding-top:7px; color:green;"> You: Sorry. That's what I used to call my chocolate lab. His name was Michael. </div> <div style="padding-bottom:4px; padding-top:7px; color:green;"> Michael O'Toole: I guess it's fitting that a person whose name is Rover would have a chocolate lab named Michael. </div> </div> </div> <div style="position:absolute; bottom:6px; height:30px; padding-top:6px;"> <textbox style="width:18.5em;" value="Instant message your team..."/> </div> </tabpanel> <tabpanel> This is panel 3 </tabpanel> </tabpanels> </tabbox> </panelchildren> </panel> </columnchildren> </columnlayout> <popup id="popupCBC" width="250px"> <html><![CDATA[Select either "with Diff" or "no Diff"]]></html> </popup> </zk> TestComposer.javajavaimport org.zkoss.zk.ui.*; import org.zkoss.zk.ui.event.*; import org.zkoss.zk.ui.util.*; import org.zkoss.zk.ui.ext.*; import org.zkoss.zk.au.*; import org.zkoss.zk.au.out.*; import org.zkoss.zul.*; public class TestComposer extends GenericForwardComposer{ public void doAfterCompose(Component comp) throws Exception { super.doAfterCompose(comp); } public void onClick$btn(Event e) throws InterruptedException{ Messagebox.show("Hi btn"); } }