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

Incorrect result for 'if' attribute when mixing native and zk components

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 6.5.2
    • 6.5.1
    • ZHTML

      Example zul:

      <n:table xmlns:n="native">
          <n:tr>
              <n:td n:colspan="2">Visible row</n:td>      
          </n:tr>
          <n:tr if="false">
              <n:td>Name</n:td>
              <n:td>
                  <textbox value="Invisible"/>
              </n:td>
          </n:tr>
      </n:table>
      

      I expected that only

      <table>
          <tr>
              <td colspan="2">Visible row</td>
          </tr>
      </table>
      

      is created, but ZK also created Textbox component.

      Example: http://zkfiddle.org/sample/2kvg9e8/5-Incorrect-result-for-if-attribute-when-mixing-native

            jumperchen jumperchen
            sbglobesy sbglobesy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: