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

client mvvm failed for a tree

XMLWordPrintable

      Steps to Reproduce

      1. run attached zul and open chrome developer tool > Console tab

      Current Result

      clientbind.wpd:3 Uncaught TypeError: e.parent.getPath_ is not a function
          at e.prepareTemplateEvalContext (clientbind.wpd:3:123158)
          at w (clientbind.wpd:3:124670)
          at clientbind.wpd:3:125798
          at clientbind.wpd:3:174731
          at Array.forEach (<anonymous>)
          at Proxy.<anonymous> (clientbind.wpd:3:174706)
          at Object.render (clientbind.wpd:3:124358)
          at b._createTreeitems (clientbind.wpd:3:114311)
          at clientbind.wpd:3:114818
          at s (clientbind.wpd:3:125503)
      

      Expected Result

      no js error (even zk cannot turn it into client mvvm)

        1. emptyTree.png
          emptyTree.png
          9 kB
        2. selection-tree.zul
          0.7 kB
        3. TreeSelectionVM.java
          2 kB

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

              Created:
              Updated:
              Resolved: