-
Bug
-
Resolution: Fixed
-
Normal
-
6.5.2
-
Security Level: Jimmy
-
None
-
None
<zk> <window > <button label="append" onClick="append()"> <attribute name="onClick"><![CDATA[ include.setSrc(null); include.setSrc("test2.zul?aa=bb"); //include.setSrc("test2.zul"); without param, works fine ]]></attribute> </button> <include id="include" src=""/> </window> </zk>
test2.zul
<zk> <zscript><![CDATA[ class Controller extends org.zkoss.zk.ui.util.GenericForwardComposer { public void doAfterCompose(Component comp) throws Exception { super.doAfterCompose(comp); Clients.showNotification("doAfterCompose"); System.out.println("in"); } } ]]></zscript> <window apply="Controller" /> </zk>