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

ZK6 Selectors yields inconsistent results when macro components exists in page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Critical Critical
    • None
    • Freshly
    • General
    • ZK 6.0.0.FL.20120208

    • None

      ZK6 Selectors results are inconsistent. When macro components are involved, Selectors yields unexpected results if component ID is specified.
      I have created ZK fiddle to demonstrate this Selectors problem: http://zkfiddle.org/sample/2uod3rv/5-ZK6-Selectors-Test.
      In demo fiddle we have very simple layout - Window which is parent to macro component which in turn has Window as well. Searching for "window"
      (main window is a search root) finds both windows, however, if we specify ID of window which is inside macro component - nothing is found at all.
      Note that find by class or id attribute (window[id='id']) works fine and yields expected results.
      P.S. I have attached feedle screenshot with find results which in my opinion are inconsistent.

            SimonPai SimonPai
            Serzhas Serzhas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: