Revision history [back]

click to hide/show revision 1
initial version

answered 2010-08-03 22:19:07 +0800

jimmyshiau gravatar image jimmyshiau

http://www.zkoss.org/ ZK Team

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>
Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More