Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2000

Include cannot bind when src contains parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Normal Normal
    • None
    • 5.0.7
    • Components
    • Windows 7 , Firefox 24

      Include cannot bind when src contains parameters
      <zk>
      <window >
      <button label="New page" 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>
      <button label="Button Back" onClick="append()">
      <attribute name="onClick"><![CDATA[
      include.setSrc(null);
      include.setSrc("test1.zul"); //NPE Include donĀ“t exist

      ]]></attribute>
      </button>
      <include id="include" src=""/>
      </window>
      </zk>

            danchen0720 danchen0720
            zippy zippy
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: