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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.5.1
    • Fix Version/s: 6.5.2
    • Component/s: ZHTML
    • Labels:

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: