Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-27351

Data binding doesn't work for the control bar added programmatically

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: Adobe Flex SDK 4.6 (Release)
    • Fix Version/s: None
    • Component/s: Data Binding
    • Labels:
      None
    • Environment:
      Affected OS(s): Windows
      Affected OS(s): Windows 7
      Language Found: English

      Description

      Steps to reproduce:
      1. Compile attached project with SDK 4.x
      2. Click on update text button.

      Actual Results:
      nothing on control bar

      Expected Results:
      'text'should appear on control bar

      When we add control bar programmatically, in the Panel.createComponentsFromDescriptors bar is removed from display list and bindings are disabled by call BindingManager.setEnabled(child, false) inside Container.addChildAt. Then bar is added to the raw children. But bindings are never enabled again. The same scenario worked in SDK 3.x

      Workaround (if any):
      Call BindingManager.setEnabled(bar, true) explicitly after Panel's creation complete event.

        Attachments

          Activity

            People

            • Assignee:
              adobejira Adobe JIRA
              Reporter:
              adobejira Adobe JIRA
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: