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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Normal
    • None
    • Affects Version/s: 7.0.5, 7.0.7, 8.0.1
    • Component/s: None
    • Security Level: Jimmy
    • None
    • ZK 8.0.1 S1
    • None

      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>
      

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

              Created:
              Updated:
              Resolved: