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

Two-way binding data type error in Flex SDK 4.0 Beta 2

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: Adobe Flex SDK Previous
    • Fix Version/s: None
    • Component/s: Data Binding
    • Labels:
      None
    • Environment:
      Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

      Description

      If I do a two-way binding with a integer property and a TextInput like this way:

      private var integerValue:int;
      TextInput text="@

      {integerValue}

      "

      In Flex SDK 4.0 Beta 1 this works fine but in Flex SDK 4.0 Beta 2 this give me a compile error because different data types but in this way the two-way binding serves no purpose other than to properties of type string.

      I think this is an error in the Beta 2 or now I can only use the two-way binding in properties of type string ?

        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: