how to get component of included page in the main page
7 Feb 2012 13:35:36 GMT
13 Feb 2012 04:14:31 GMT
13 Feb 2012 04:14:31 GMT
Hi sanjeeb,
Try this
incLefPanel.getFellow("Component_ID_in_Included_Page");
Regards,
ben
ZK - Open Source Ajax Java Framework
main.zul
------------------
<p:zk>
<p:window apply="CaptureBiometricsComposer>
<p:hbox height="250px">
<p:include id="incLefPanel"
src="LeftPanelCaptureBiometrics.zul" />
<p:include id="incRightPanel" src="captureFingerPrint.zul" />
</p:hbox>
<p:div align="right" class="buttonWrap">
<p:button label="${c:l('Next')}" id="btnNext"
class="simpleButton" />
</p:div>
</p:window>
</p:zk>
in the above code how will i get the component of "LeftPanelCaptureBiometrics.zul" in the CaptureBiometricsComposer .I want to change the css of a button present in "LeftPanelCaptureBiometrics.zul" whenever i click on next button present in the main.zul.
Please reply