-
FEATURED COMPONENTS
First time here? Check out the FAQ!
When i checked checkbox (id = 'sameAsPatientCb') , the parent component will also launch onOpen event. So how can i stop parent opOnen event on this.
Any advise?
<groupbox id="guarantorInfogb" mold="3d" open="true" height="25px" forward="onOpen=onOpenVisibleForguarantorInfogb">
<attribute name="onOpen"><![CDATA[
guarantorInfoArrow.setSclass("open-" + self.isOpen());
]]></attribute>
<caption image="/images/pre/preyellow.gif" label="Guarantor Information">
<hbox>
<checkbox id="sameAsPatientCb" forward="onCheck=onCheckSameAsPatient"></checkbox>
<label value=" Same as Patient" style="margin-right:25px"/>
<div id='guarantorInfoArrow' sclass="open-true" width="20px"/>
</hbox>
</caption>
</groupbox>
I post a bug here
Here is the workaround
<checkbox xmlns:w="client" id="sameAsPatientCb" onCheck="">
<attribute w:name="doClick_">
function (evt) {
evt.stop({propagation: true});
this.$doClick_.apply(this, arguments);
}
</attribute>
</checkbox>
Asked: 2013-06-08 10:06:10 +0800
Seen: 10 times
Last updated: Jul 03 '13
Do not update to ZK Studio 2.0
Catch Server 503 Error - Or Catch Stale Page
how to save spreadsheet data into postgres database?
One controller file with multiple zul file
Why am I getting authentication error for ZK studio activation?
How can i make Tomcat (with virtual hosts) to parse the zul page in subfolders?