Suggested case list:
Using timer to refresh a grid
383guest172.69.33.12125nk0uiMay 7, 2020 7:23:47 AMlinkuser model to move item to another listbox
120guest162.158.193.148d0n3krApr 2, 2020 5:28:28 AMlinkDisabled list item row passed to VM-1981
296fatih123160.83.36.13025nk0uiFeb 13, 2018 4:25:44 PMlinkDisabled list item row passed to VM-1981
295fatih123160.83.36.13025nk0uiFeb 13, 2018 4:25:16 PMlinkDisabled list item row passed to VM-1981
294fatih123160.83.36.13225nk0uiFeb 13, 2018 3:30:44 PMlinkgrid sample with ListModel/RowRenderer
816guest80.82.2.1312vah9ajFeb 21, 2017 11:42:21 AMlinkgrid sample with ListModel/RowRenderer
809guest175.98.113.1622vah9ajJan 26, 2017 9:19:33 AMlinkgrid sample with ListModel/RowRenderer
196guest79.185.142.402vah9ajApr 26, 2014 10:53:57 PMlinkgrid sample with ListModel/RowRenderer
195guest79.185.142.402vah9ajApr 26, 2014 10:53:54 PMlinkgrid sample with ListModel/RowRenderer
194guest79.185.142.402vah9ajApr 26, 2014 10:53:51 PMlinkgrid sample with ListModel/RowRenderer
193guest79.185.142.402vah9ajApr 26, 2014 10:53:48 PMlinkgrid sample with ListModel/RowRenderer
192guest79.185.142.402vah9ajApr 26, 2014 10:53:44 PMlinkgrid sample with ListModel/RowRenderer
191guest79.185.142.402vah9ajApr 26, 2014 10:53:40 PMlinkHierarchy table without using ZK PE/EE
1aaknai151.28.135.2131s871daJul 29, 2013 11:02:46 PMlinkgrid sample with ListModel/RowRenderer
128aaknai151.28.135.2132vah9ajJul 29, 2013 7:20:00 PMlinkuser model to move item to another listbox
1TonyQ114.25.109.94d0n3krApr 21, 2012 10:43:27 AMlinkUsing timer to refresh a grid
1TonyQ220.133.44.3725nk0uiFeb 17, 2012 3:17:34 AMlinkFire a event from child iframe
1TonyQ220.133.44.372eupjotFeb 3, 2012 5:04:52 AMlinkTextbox input restriction sample
1TonyQ72.21.245.2431b3nlr0Dec 20, 2011 10:09:10 AMlinkTest web core taglib in ZUL
1TonyQ198.203.175.175ofqkemDec 17, 2011 3:36:08 AMlinkLatest 10 Fiddles :
Textbox input restriction sample
1guest172.71.137.1339ahuuhJan 12, 2025 6:43:16 AMlinkZK MVVM Converter
21guest172.71.137.13816cf90oJan 12, 2025 6:35:27 AMlinkTemplate composition and include
35guest172.70.246.66vroi36Jan 10, 2025 3:44:06 PMlinkTemplate composition and include
34guest172.70.246.66vroi36Jan 10, 2025 3:43:42 PMlinkTemplate composition and include
33guest172.70.246.66vroi36Jan 10, 2025 3:42:59 PMlinkTemplate composition and include
32guest172.70.246.67vroi36Jan 10, 2025 3:41:58 PMlinkTemplate composition and include
31guest172.70.246.66vroi36Jan 10, 2025 3:41:25 PMlinkTemplate composition and include
30guest172.70.246.66vroi36Jan 10, 2025 3:39:35 PMlinkTemplate composition and include
29guest172.70.246.66vroi36Jan 10, 2025 3:39:09 PMlinkTemplate composition and include
28guest172.70.246.67vroi36Jan 10, 2025 3:37:54 PMlinkdoctor dash
1310okspry134.68.31.2272q0rn3uNov 20, 2012 9:46:26 PMlinkresources
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);
}
//begin toggle div visibility//
function isVisible(elem) {
return elem.offsetWidth > 0 || elem.offsetHeight > 0;
}
function switchVisibility(thingid) {
var zkwidget = zk.Widget.$('$'+ thingid); //zk
var show;
if (zkwidget.isVisible()) {
show = false;
} else {
show = true;
}
if (show) {
zkwidget.setVisible(true); // zk
} else {
zkwidget.setVisible(false);
}
};
function toggleVisibility() {
// 'G3_bar', 'dashboard'
switchVisibility('G3_bar' );
switchVisibility('dashboard');
switchVisibility('patient_landing');
}
//end toggle div visibility//
</script>
<style>
.formDiv {
border-bottom:1px solid #bbb;
background-color:#f9f9f9;
}
.DC.z-button .z-button-tl, .DC.z-button .z-button-tr,
.DC.z-button .z-button-bl, .DC.z-button .z-button-br,
.DC.z-button .z-button-tm, .DC.z-button .z-button-bm,
.DC.z-button .z-button-cl, .DC.z-button .z-button-cr {
background-image:none;
}
.DC.z-button .z-button-cm {
background-image:none;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ddd), to(#b6b6b6)) !important;
border:1px solid #bbb;
padding-top:4px;
padding-bottom:4px;
padding-left:5px;
padding-right:5px;
border-radius:8px;
color:#777;
font-size:1.1em;
text-shadow:-1px 1px #ddd;
font-weight:bold;
font-family:helvetica;
}
.DC.z-button:hover .z-button-cm {
background-image:none;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ddd), to(#b6b6b6)) !important;
border:1px solid #bbb;
padding-top:4px;
padding-bottom:4px;
padding-left:5px;
padding-right:5px;
border-radius:8px;
color:#fff;
font-size:1.1em;
text-shadow:-1px 1px #777;
font-weight:bold;
font-family:helvetica;
}
.save.z-button .z-button-tl, .save.z-button .z-button-tr,
.save.z-button .z-button-bl, .save.z-button .z-button-br,
.save.z-button .z-button-tm, .save.z-button .z-button-bm,
.save.z-button .z-button-cl, .save.z-button .z-button-cr {
background-image:none;
}
.save.z-button .z-button-cm {
background-image:none;
background: -webkit-gradient(linear, 0% 0%, 0% 75%, from(#ddd), to(#b6b6b6)) !important;
border:1px solid #bbb;
padding-top:4px;
padding-bottom:4px;
padding-left:5px;
padding-right:5px;
border-radius:8px;
color:#777;
font-size:1.1em;
text-shadow:-1px 1px #ddd;
font-weight:bold;
font-family:helvetica;
}
.save.z-button:hover .z-button-cm {
background-image:none;
background: -webkit-gradient(linear, 0% 0%, 0% 75%, from(#ddd), to(#b6b6b6)) !important;
border:1px solid #bbb;
padding-top:4px;
padding-bottom:4px;
padding-left:5px;
padding-right:5px;
border-radius:8px;
color:#fff;
font-size:1.1em;
text-shadow:-1px 1px #777;
font-weight:bold;
font-family:helvetica;
}
</style>
<style>
.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;
}
.top-selected.z-button .z-button-tl, .top-selected.z-button .z-button-tr,
.top-selected.z-button .z-button-bl, .top-selected.z-button .z-button-br,
.top-selected.z-button .z-button-tm, .top-selected.z-button .z-button-bm,
.top-selected.z-button .z-button-cl, .top-selected.z-button .z-button-cr {
background-image:none;
}
.top-unfulfilled.z-button .z-button-tl, .top-unfulfilled.z-button .z-button-tr,
.top-unfulfilled.z-button .z-button-bl, .top-unfulfilled.z-button .z-button-br,
.top-unfulfilled.z-button .z-button-tm, .top-unfulfilled.z-button .z-button-bm,
.top-unfulfilled.z-button .z-button-cl, .top-unfulfilled.z-button .z-button-cr {
background-image:none;
}
.top-disabled.z-button .z-button-tl, .top-disabled.z-button .z-button-tr,
.top-disabled.z-button .z-button-bl, .top-disabled.z-button .z-button-br,
.top-disabled.z-button .z-button-tm, .top-disabled.z-button .z-button-bm,
.top-disabled.z-button .z-button-cl, .top-disabled.z-button .z-button-cr {
background-image:none;
}
.top-selected.z-button .z-button-cm {
background-image:none;
background: transparent;
box-shadow:0px 0px 0px 1px #7A8C96 inset, 0px 15px 10px 2px #576873 inset, 0px -2px 8px 1px #576873 inset;
border:1px solid #44555F;
border-radius:8px;
color:#a5a5a5;
text-shadow:1px -1px #44555F;
font-weight:bold;
font-family:helvetica;
padding-left:9px;
padding-right:9px;
padding-top:5px;
padding-bottom:5px;
}
.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;
padding-left:9px;
padding-right:9px;
padding-top:5px;
padding-bottom:5px;
}
.top-unfulfilled.z-button .z-button-cm {
background-image:none;
background: transparent;
box-shadow:0px 0px 0px 1px #7A8C96 inset, 0px 0px 6px 1px #baccd5;
border:1px solid #44555F;
border-radius:8px;
color:#fff;
text-shadow:-1px 1px #44555F;
font-weight:bold;
font-family:helvetica;
padding-left:9px;
padding-right:9px;
padding-top:5px;
padding-bottom:5px;
}
.top-disabled.z-button .z-button-cm {
background-image:none;
background: transparent;
box-shadow:0px 0px 0px 1px #7A8C96 inset, 0 -100px 0 #647884 inset;
border:1px solid #44555F;
border-radius:8px;
color:#c7c7c7;
text-shadow:1px 1px 0 #44555F, 0px -1px 0 #44555F;
font-weight:bold;
font-family:helvetica;
padding-left:9px;
padding-right:9px;
padding-top:5px;
padding-bottom:5px;
}
.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;
padding-left:9px;
padding-right:9px;
padding-top:5px;
padding-bottom:5px;
}
.activeOrdersDiv {
font-size:2em;
width:100%;
padding:4px;
margin-left;-4px;
color:#777;
text-shadow:1px 1px #e5e5e5;
border-radius:3px;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#eee), to(#ccc));
box-shadow:0 -10px 2px #ccc inset;
}
.ordersExpressButton.z-button .z-button-tl, .ordersExpressButton.z-button .z-button-tr,
.ordersExpressButton.z-button .z-button-bl, .ordersExpressButton.z-button .z-button-br,
.ordersExpressButton.z-button .z-button-tm, .ordersExpressButton.z-button .z-button-bm,
.ordersExpressButton.z-button .z-button-cl, .ordersExpressButton.z-button .z-button-cr {
background-image:none;
}
.ordersExpressButton.z-button .z-button-cm {
background-image:none;
background: -webkit-gradient(linear, 0% 0%, 0% 75%, from(#ddd), to(#b6b6b6)) !important;
border:1px solid #bbb;
padding-top:4px;
padding-bottom:4px;
padding-left:5px;
padding-right:5px;
border-radius:8px;
color:#777;
font-size:1.1em;
text-shadow:-1px 1px #ddd;
font-weight:bold;
font-family:helvetica;
}
.ordersExpressButton.z-button:hover .z-button-cm {
background-image:none;
background: -webkit-gradient(linear, 0% 0%, 0% 75%, from(#ddd), to(#b6b6b6)) !important;
border:1px solid #bbb;
padding-top:4px;
padding-bottom:4px;
padding-left:5px;
padding-right:5px;
border-radius:8px;
color:#fff;
font-size:1.1em;
text-shadow:-1px 1px #777;
font-weight:bold;
font-family:helvetica;
}
.bigDiv {
overflow-y:auto;
overflow-x:hidden;
padding:5px;
}
.module {
padding:5px;
overflow-x:hidden;
overflow-y:hidden;
border:1px solid #bbb;
border-radius:5px;
}
.mainHeader {
float:left;
padding-bottom:6px;
}
.arrow-container {
width:80px;
float:right;
right:.4em;
}
.previous {
float:left;
color:black;
}
.next {
float:right;
color:black;
}
.alert {
margin-top:6px;
}
.alert-container {
float:left;
width:90%;
}
.alert-title {
font-size:.8em;
font-weight:bold;
}
.alert-title2 {
font-size:.8em;
font-weight:bold;
margin-top:14px;
}
.alert-warning {
font-size:.8em;
color:red;
font-family:courier;
}
.alert-details {
font-size:.8em;
font-family:trebuchet;
display:none;
}
.alert-detailsDisplayed {
font-size:.8em;
font-family:trebuchet;
display:inline;
}
.pulldown {
padding:7px;
text-align:center;
position:relative;
margin-top:-3px;
margin-left:-6px;
margin-right:-6px;
background-color:#fff;
box-shadow: 0 1px 0px #ddd, 0 -1px 0px #ddd;
}
.pulldown:hover {
padding:7px;
text-align:center;
position:relative;
margin-top:-3px;
margin-left:-6px;
margin-right:-6px;
background-color:#fff;
box-shadow: 0 2px 3px #bbb, 0 -1px 0px #bbb;
}
.pulldownSelected {
padding:7px;
text-align:center;
position:relative;
margin-top:-3px;
margin-left:-6px;
margin-right:-6px;
background-color:#d6d6d6;
box-shadow: 0 2px 6px #bbb inset, 0 -2px 0 #eaeaea inset;
}
a {
color:#777;
text-decoration:none;
}
a:hover {
color:#777;
text-decoration:underline;
}
</style>
<vlayout spacing="0">
<borderlayout id="top_nav" height="40px" style="background:none;">
<west border="0" style="padding-left:5px;">
<div style="padding-top:17px;">
<a label="Feedback" style="padding:5px; font-size:.9em;"/>
<a label="Help" style="padding:5px; font-size:.9em;"/>
<a label="External links" style="padding:5px; font-size:.9em;"/>
</div>
</west>
<east border="0" style="padding-right:5px;">
<div style="padding:5px">
<button id="G3_btn" sclass="save" w:onClick="toggleVisibility();" label="G3"/>
<button id="User_btn" sclass="save" dir="reverse" label="Blaine Takesue at Blackburn"/>
<a label="logout" style="font-size:.9em;"/>
</div>
</east>
</borderlayout>
<div id="dashboard">
<borderlayout height="35px" style="box-shadow:0px -17px 0px 0px #647884 inset; background: -webkit-gradient(linear, 0% 0%, 0% 84%, from(#7A8C96), to(#647884));">
<west style="padding:8px; border:none; box-shadow:0px -17px 0px 0px #647884 inset; background: -webkit-gradient(linear, 0% 0%, 0% 84%, from(#7A8C96), to(#647884));">
<div>
<a label="Doctor Dashboard" style="font-size:1em; color:#f9f9f9; text-decoration:none;"/>
</div>
</west>
</borderlayout>
</div>
<columnlayout id="doctor_dash">
<columnchildren width="100%" height="600px">
<panel>
<panelchildren>
<vlayout style="padding-top:15px; padding-left:15px;">
<hlayout>
<bandbox id="searchBox" width="300px" mold="rounded" value="Search by name or MRN" onFocus='value="none";'/>
<div style="padding-left:5px; padding-top:5px;" >
<a label="Advanced search" style="color:blue; "/>
</div>
</hlayout>
<columnlayout>
<columnchildren width="69%" height="600px" style="padding-right:6px">
<panel>
<panelchildren>
<tabbox height="300px">
<tabs>
<tab label="Recent"/>
<tab label="More lists"/>
<tab label="Search Results" closable="true" visible="false"/>
</tabs>
<tabpanels>
<tabpanel id="recentPanel" style="overflow:auto;">
<tree id="tree" rows="8">
<treecols>
<treecol id="starColumn" width="15%" />
<treecol id="nameColumn" width="40%" />
<treecol id="mrnColumn" width="30%" />
<treecol id="genderColumn" width="15%" />
</treecols>
<treechildren>
<treeitem open="true">
<treerow>
<treecell image="http://t3.gstatic.com/images?q=tbn:ANd9GcR1VDHCyK9inRRi_TDPp6AevuAn1JUFS2h0mWkq01TXc2_NY14g"
style="padding-left:5px;" />
<treecell label="Goodwitch, Glenda" style="font-weight:bold" />
<treecell label="5648778" style="font-weight:bold" />
<treecell image="http://t0.gstatic.com/images?q=tbn:ANd9GcTwJVMCahOvB9ofq_OmIf1DMw4TwAoObOJdQFh-sGKbHcfSGEA1" />
</treerow>
<treechildren>
<treeitem>
<treerow>
<treecell />
<treecell span="3">
<vlayout>
<label value="Address: 123 Ozland Lane Indianapolis, IN 46204" />
<label value="Phone: (317)324-1234" />
</vlayout>
</treecell>
</treerow>
</treeitem>
</treechildren>
</treeitem>
<treeitem open="false">
<treerow>
<treecell image="http://t3.gstatic.com/images?q=tbn:ANd9GcR1VDHCyK9inRRi_TDPp6AevuAn1JUFS2h0mWkq01TXc2_NY14g"
style="padding-left:5px;" />
<treecell label="McDonald, Norm" style="font-weight:bold" />
<treecell label="222564" style="font-weight:bold" />
<treecell image="https://encrypted-tbn2.google.com/images?q=tbn:ANd9GcRyrNPV9iOcidYUvz1ibOc7suePZOCmQ-WeWtrUR-k4k34AThtvZQ" />
</treerow>
<treechildren>
<treeitem>
<treerow>
<treecell />
<treecell span="3">
<vlayout>
<label value="Address: 43224 Brigadoon Circle Indianapolis, IN 46244" />
<label value="Phone: (317)777-1555" />
</vlayout>
</treecell>
</treerow>
</treeitem>
</treechildren>
</treeitem>
<treeitem open="false">
<treerow>
<treecell image="http://t3.gstatic.com/images?q=tbn:ANd9GcR1VDHCyK9inRRi_TDPp6AevuAn1JUFS2h0mWkq01TXc2_NY14g"
style="padding-left:5px;" />
<treecell label="Munch, Trent" style="font-weight:bold" />
<treecell label="6555100" style="font-weight:bold" />
<treecell image="https://encrypted-tbn2.google.com/images?q=tbn:ANd9GcRyrNPV9iOcidYUvz1ibOc7suePZOCmQ-WeWtrUR-k4k34AThtvZQ" />
</treerow>
<treechildren>
<treeitem>
<treerow>
<treecell />
<treecell span="3">
<vlayout>
<label value="Address: 2055 Lincoln Log Blvd Indianapolis, IN 46222" />
<label value="Phone: (317)665-6565" />
</vlayout>
</treecell>
</treerow>
</treeitem>
</treechildren>
</treeitem>
<treeitem open="false">
<treerow>
<treecell image="https://encrypted-tbn1.google.com/images?q=tbn:ANd9GcQz4_UOUeS9bRwN8C3iZLROq9V32XeiOvXlzyE-6LP6xbnVIsmSFw" />
<treecell label="Fabulous, Gail" style="font-weight:bold" />
<treecell label="778422" style="font-weight:bold" />
<treecell image="http://t0.gstatic.com/images?q=tbn:ANd9GcTwJVMCahOvB9ofq_OmIf1DMw4TwAoObOJdQFh-sGKbHcfSGEA1" />
</treerow>
<treechildren>
<treeitem>
<treerow>
<treecell />
<treecell span="3">
<vlayout>
<label value="Address: 6565 Death Toll Troll Rd Indianapolis, IN 46220" />
<label value="Phone: (317)897-2234" />
</vlayout>
</treecell>
</treerow>
</treeitem>
</treechildren>
</treeitem>
<treeitem open="false">
<treerow>
<treecell image="https://encrypted-tbn1.google.com/images?q=tbn:ANd9GcQz4_UOUeS9bRwN8C3iZLROq9V32XeiOvXlzyE-6LP6xbnVIsmSFw" />
<treecell label="Tyler, Bonnie" style="font-weight:bold" />
<treecell label="100003" style="font-weight:bold" />
<treecell image="http://t0.gstatic.com/images?q=tbn:ANd9GcTwJVMCahOvB9ofq_OmIf1DMw4TwAoObOJdQFh-sGKbHcfSGEA1" />
</treerow>
<treechildren>
<treeitem>
<treerow>
<treecell />
<treecell span="3">
<vlayout>
<label value="Address: 324 Bright Eyes St Indianapolis, IN 46204" />
<label value="Phone: (317)666-7785" />
</vlayout>
</treecell>
</treerow>
</treeitem>
</treechildren>
</treeitem>
<treeitem open="false">
<treerow>
<treecell image="https://encrypted-tbn1.google.com/images?q=tbn:ANd9GcQz4_UOUeS9bRwN8C3iZLROq9V32XeiOvXlzyE-6LP6xbnVIsmSFw" />
<treecell label="Vanilli, Milli" style="font-weight:bold" />
<treecell label="452333" style="font-weight:bold" />
<treecell image="https://encrypted-tbn2.google.com/images?q=tbn:ANd9GcRyrNPV9iOcidYUvz1ibOc7suePZOCmQ-WeWtrUR-k4k34AThtvZQ" />
</treerow>
<treechildren>
<treeitem>
<treerow>
<treecell />
<treecell span="3">
<vlayout>
<label value="Address: 4548 Bard Nard Rd Indianapolis, IN 46227" />
<label value="Phone: (317)445-1564" />
</vlayout>
</treecell>
</treerow>
</treeitem>
</treechildren>
</treeitem>
</treechildren>
</tree>
</tabpanel>
<tabpanel id="otherPanel" style="overflow:auto;">
</tabpanel>
</tabpanels>
</tabbox>
</panelchildren>
</panel>
</columnchildren>
<!--things to sign-->
<columnchildren width="29%" height="600px">
<panel>
<panelchildren>
<tabbox height="300px" mold="accordion">
<tabs>
<tab label="To-Dos (9)"/>
<tab label="Things to sign (22)" selected="true"/>
</tabs>
<tabpanels>
<tabpanel>
</tabpanel>
<tabpanel>
<vlayout>
<a label="0 verbal orders" style="color:#888; font-size:.9em;"/>
<a label="0 refill requests" style="color:#888; font-size:.9em;"/>
</vlayout>
</tabpanel>
</tabpanels>
</tabbox>
</panelchildren>
</panel>
</columnchildren>
</columnlayout>
</vlayout>
</panelchildren>
</panel>
</columnchildren>
<columnchildren width="250px">
<panel>
<panelchildren>
<div sclass="bigDiv" height="600px" style="box-shadow:0 -2px 2px 1px #ddd inset;">
<vlayout sclass="module" id="module3" visible="false" spacing="0px" style="margin-bottom:10px">
<div height="1em">
<div style="float:left; margin-top:-4px; margin-left:-2px;">
<image id="formularyClose" src="http://www.famfamfam.com/lab/icons/silk/icons/bullet_delete.png" w:onClick="hide('module3')"/>
</div>
<div sclass="mainHeader">
<label value="Formulary for Aspirin" style="font-size:.8em"/>
</div>
</div>
<div style="clear:both"/>
<div id="pulldown3" sclass="pulldown">
<a label="show details" id="more3"
w:onClick="this.$f('pulldown3').setSclass('pulldownSelected'),
this.$f('formularyDetail').setSclass('alert-detailsDisplayed'),
hide('more3'),
show('less3')"/>
<a label="hide details" visible="false" id="less3" style="color:#777"
w:onClick="this.$f('pulldown3').setSclass('pulldown'),
this.$f('formularyDetail').setSclass('alert-details'),
hide('less3'),
show('more3')"/>
</div>
<div visible="true" sclass="alert">
<div sclass="alert-container">
<div>
<label value="" sclass="alert-title"/>
<vlayout id="formularyDetail" sclass="alert-details">
<a label="Blah"/>
<a label="Blah blah"/>
<a label="Blink blink"/>
<a label="Blah"/>
<a label="Blah blah"/>
<a label="Blink blink"/>
<a label="Blah"/>
<a label="Blah blah"/>
<a label="Blink blink"/>
<a label="Blah"/>
<a label="Blah blah"/>
<a label="Blink blink"/>
<a label="Blah"/>
<a label="Blah blah"/>
<a label="Blink blink"/>
</vlayout>
</div>
</div>
</div>
</vlayout>
<vlayout sclass="module" id="module1" spacing="0px">
<div height="1em">
<div sclass="mainHeader">
<label value="Alerts (1 of 3)" style="font-size:.8em"/>
</div>
<div class="arrow-container">
<a class="previous" id="previous1" label="previous" disabled="true"/>
<a class="next" id="next1" label="next"/>
</div>
</div>
<div style="clear:both"/>
<div id="pulldown1" sclass="pulldown">
<a label="show details" id="more1"
w:onClick="this.$f('pulldown1').setSclass('pulldownSelected'),
this.$f('alertDetailAspirin').setSclass('alert-detailsDisplayed'),
this.$f('alertDetailHydro').setSclass('alert-detailsDisplayed'),
this.$f('alertDetailWarfarinDDI1').setSclass('alert-detailsDisplayed'),
this.$f('alertDetailWarfarinDDI2').setSclass('alert-detailsDisplayed'),
hide('more1'),
show('less1')"/>
<a label="hide details" visible="false" id="less1"
w:onClick="this.$f('pulldown1').setSclass('pulldown'),
this.$f('alertDetailAspirin').setSclass('alert-details'),
this.$f('alertDetailHydro').setSclass('alert-details'),
this.$f('alertDetailWarfarinDDI1').setSclass('alert-details'),
this.$f('alertDetailWarfarinDDI2').setSclass('alert-details'),
hide('less1'),
show('more1')"/>
</div>
<div sclass="alert" id="aspirinAlert" visible="false">
<div sclass="alert-container">
<div>
<label value="Aspirin Intolerance" sclass="alert-title"/>
<vlayout style="padding:8px">
<label value="Risk of (unknown)" sclass="alert-warning"/>
<div style="margin-top:5px; color:#777;">
<label id="alertDetailAspirin" value="You ordered Aspirin and patient had ASPIRINS allergy documented by SIMPSON, HOMER"
sclass="alert-details"/>
</div>
</vlayout>
</div>
</div>
<div style="float:right; right:.2em;">
<image id="aspirinClose" src="http://www.famfamfam.com/lab/icons/silk/icons/cross.png" w:onClick="hide('aspirinAlert'), show('hydroAlert')"/>
</div>
</div>
<div sclass="alert" id="hydroAlert">
<div sclass="alert-container">
<div style="position:static">
<label value="Hydrocodone 7.5mg/Acetminophen 85mg Allergy" sclass="alert-title"/>
<vlayout style="margin-top:3px">
<label value="Risk of bleeding" sclass="alert-warning"/>
<label id="alertDetailHydro" value="Effect: The concurrent use of anticoagulants and salicylates may result
in increased INR values and increase the risk of bleeding.; Mode of Action: Multiple
processes are involved: 1) Salicylate doses greater than 3 gm daily decrease plasma
prothrombin levels. 2) Salicylates may also displace anticoagulants from plasma protein binding sites.
3) Salicylates impair platelet function, resulting in prolonged bleeding time. 4) Salicylates may cause
gastrointestinal bleeding due to irritation.; Clinical Significance: null"
sclass="alert-details"/>
</vlayout>
</div>
</div>
<div style="float:right; right:.2em;">
<image id="hydroClose" src="http://www.famfamfam.com/lab/icons/silk/icons/cross.png"
w:onClick="hide('hydroAlert'), show('DDIAlerts')"/>
</div>
</div>
<div visible="false" sclass="alert" id="DDIAlerts">
<div sclass="alert-container">
<div style="position:static;">
<label value="Warfarin vs Sertraline" sclass="alert-title"/>
<vlayout style="margin-top:3px">
<label value="Risk of stinky breath" sclass="alert-warning"/>
<label id="alertDetailWarfarinDDI1" value="Effect: Concurrent administration of the selective serotonin reuptake inhibitors
or serotonin-norepinephrine reuptake inhibitors may result in increased levels of and effects
from the anticoagulant.; Mode of Action: Some selective serotonin reuptake inhibitors and duloxetine
may inhibit the hepatic metabolism of some anticoagulants or may displace the anticoagulant from plasma
protein binding sites. In addition, serotonin release by platelets plays a role in hemostasis, which may
also increase the risk of bleeding.; Clinical Significance: null" sclass="alert-details"/>
</vlayout>
</div>
<div style="position:static; margin-top:5px; padding-top:4px; border-top:1px solid #bbb;">
<label value="Warfarin vs Acetaminophen" sclass="alert-title2"/>
<vlayout style="margin-top:3px;">
<label value="Risk of hives" sclass="alert-warning"/>
<label id="alertDetailWarfarinDDI2" value="Hives are fun--especially bee hives! When I was 12, I ate a bee hive as a bet.
I won the bet. I also don't fear death anymore." sclass="alert-details"/>
</vlayout>
</div>
<div style="position:static; margin-top:5px; padding-top:4px; border-top:1px solid #bbb;">
<label value="Warfarin vs the World" sclass="alert-title2"/>
</div>
<vlayout style="margin-top:3px;">
<label value="Risk of ...meh..." sclass="alert-warning"/>
</vlayout>
</div>
<div style="float:right; right:.2em;">
<image id="DDIClose" src="http://www.famfamfam.com/lab/icons/silk/icons/cross.png"
w:onClick="hide('module1')"/>
</div>
</div>
</vlayout>
<vlayout sclass="module" id="module2" spacing="0px" style="margin-top:10px">
<div height="1em">
<div style="float:left; margin-top:-4px; margin-left:-2px;">
<image id="suggestionsClose" src="http://www.famfamfam.com/lab/icons/silk/icons/bullet_delete.png" w:onClick="hide('module2')"/>
</div>
<div sclass="mainHeader">
<label value="Suggestions (1)" style="font-size:.8em"/>
</div>
<div class="arrow-container">
<a class="previous" id="previous2" label="previous" disabled="true"/>
<a class="next" id="next2" label="next"/>
</div>
</div>
<div style="clear:both"/>
<div id="pulldown2" sclass="pulldown">
<a label="show details" id="more2"
w:onClick="this.$f('pulldown2').setSclass('pulldownSelected'),
this.$f('suggestionsCBCDetail').setSclass('alert-detailsDisplayed'),
hide('more2'),
show('less2')"/>
<a label="hide details" visible="false" id="less2" style="color:#777"
w:onClick="this.$f('pulldown2').setSclass('pulldown'),
this.$f('suggestionsCBCDetail').setSclass('alert-details'),
hide('less2'),
show('more2')"/>
</div>
<div visible="true" sclass="alert" id="aspirinAlert2">
<div sclass="alert-container">
<div>
<label value="Suggestions for CBC" sclass="alert-title"/>
<vlayout id="suggestionsCBCDetail" sclass="alert-details">
<a label="CBC handout"/>
<a label="Blah blah"/>
<a label="Blink blink"/>
</vlayout>
</div>
</div>
<div style="float:right; right:.2em;">
<image id="aspirinClose2" src="http://www.famfamfam.com/lab/icons/silk/icons/cross.png" w:onClick="hide('module2')"/>
</div>
</div>
</vlayout>
</div>
</panelchildren>
</panel>
</columnchildren>
</columnlayout>
</vlayout>
<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");
}
}