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

Embedded ZK should support queryparam

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 9.0.1
    • 9.0.0
    • None

      Steps to Reproduce

      1. Enable Embedded ZK
      (in zk.xml)

      <library-property>
      	<name>org.zkoss.web.servlet.http.embedded.enabled</name>
      	<value>true</value>
      </library-property>
      

      2. prepare html file

      <body>
      <div id="embeddedZK" style="height:80%">
          Loading...
      </div>
      <script id="embeddedScript" src="/zktest/zkau/web/js/zkmax/embedded/embedded.js"></script>
      </body>
      

      3. load zul with query param

      zEmbedded.load('embeddedZK', '/zktest/test2/F90-ZK-4390.zul?xxx=aaa');
      

      Current Result

      request url contains 2 "?"

      Expected Result

      request url should be "?xxx=aaa&_zEmbedded...."

      Debug Information


      Workaround


            DevChu DevChu
            DevChu DevChu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: