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

include mode="auto" process html as instant instead of defer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • 7.0.5, 7.0.7, 8.0.1
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.0.1 S1

      When using include in mode="auto" or without declaring a mode.
      If the include source is an html or htm document, instant mode is used which cause an Exception:
      Html must be the root component, not <Include [include ID]>

      Steps to reproduce:
      index.zul

      <zk>
      	<include mode="auto" src="test.html"/>
      </zk>
      

      test.html

      <html>
      	<div>html content</div>
      </html>
      

            DevChu DevChu
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: