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

nodom issues at root level

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 9.0.1
    • 9.0.0
    • Components
    • Security Level: Jimmy
    • None
    • ZK 9.0.1 S1
    • None

      Steps to Reproduce

      case 1: (native elements with IDs)

      <zk>
          <nodom>
              <div xmlns="native" id="nat1">before</div>
          </nodom>
          <button/>
          <nodom>
              <div xmlns="native" id="nat2">after</div>
          </nodom>
      </zk>
      

      case 2: (native without IDs)

      <zk>
          <nodom>
              <div xmlns="native">before</div>
          </nodom>
          <button/>
          <nodom>
              <div xmlns="native">after</div>
          </nodom>
      </zk>
      

      case 3: (default ZK components)

      <zk>
          <nodom>
              <div>before</div>
          </nodom>
          <button/>
          <nodom>
              <div>after</div>
          </nodom>
      </zk>
      

      Current Result

      case 1: nodom comments are nested incorrectly (most likely breaking dynamic updates)

      case 2: (nodom comments don't enclose the native divs)

      Expected Result

      case 3: (correct nesting, around the divs)

      Debug Information

      Workaround

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

              Created:
              Updated:
              Resolved: