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

Two way binding too strict to be usable - refer to SDK-23680

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Later
    • Affects Version/s: Adobe Flex SDK 4.0 (Release)
    • Fix Version/s: None
    • Component/s: Data Binding
    • Labels:
      None
    • Environment:
      Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

      Description

      Steps to reproduce:
      Please refer to SDK-23680 for the example.

      This breaks the purpose of twoway binding since it's too strict and the only way to implement it is to use 2 binding tags, which defeats the purpose of @{}

      Having strictmode enabled, no generic property can be used by this, like selectedItem , dataProvider and so on.

      Actual Results:
      Casting Error

      Expected Results:
      Compile properly, it's up to the developer to be sure it doesn't allow invalid data.

      Workaround (if any):
      use 2 <Binding> tags.

        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: