Clients.showNotification doesn't work when using auto mode include component

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 6.5.3
    • Affects Version/s: 6.5.2
    • Component/s: Components
    • 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>
      

            Assignee:
            vincentjian
            Reporter:
            jimmyshiau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: