-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
Hi dongpeng I tested my sample with ZK 5.0.3 it worked well
<zk>
<box id="mybox">
<include src="page1.zul"></include>
</box>
<button label="update model">
<attribute name="onClick"><![CDATA[
mybox.removeChild(mybox.getFirstChild());//mybox containts the Include comp
Include inc = new Include("page2.zul");
mybox.appendChild(inc);
]]></attribute>
</button>
</zk>