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

ZK bind children throw Unsupported child exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • 6.0.1
    • Databind 2

      refer to attached file, tested on ZK 6.0.1

      If apply "children" to a root component. AbstractRenderer.java cannot resoloveTemplate correct, because comp.getParent() = null

      this will work
      <zk>
      <div>
      <listbox children="xxx">...</listbox>
      </div>
      </zk>

      this will throw exception, refer to attached file
      <zk>
      <listbox children="xxx">...</listbox>
      </zk>

            iantsai iantsai
            samchuang samchuang
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: