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

the widget of a custom component that implements IdSpace doesn't have _fellows initialized

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.5.2
    • 8.5.1.2
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.5.2 S2

      Steps to Reproduce

      1. run the attached zul
      2. click 2 buttons

      Current Result

      it locates the same label widget (the last label)

      Expected Result

      the first button should find the label in the same id space, since custom <div> implements IdSpace

      Debug Information

      • widget.js $init checking z$is is earilier than setting properties in function create(parent, wi, ignoreDom)

      Workaround

      • this.setWidgetOverride("_fellows", "{}");

            rudyhuang rudyhuang
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h