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

Binding a String to a FormItem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.4 (Release)
    • None
    • Data Binding
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Firefox 3.x
      Language Found: English

    Description

      Sorry for my bad english but I think you can understand problem with my code.

      I am building a form with this code :

      <mx:Form id="epostaFormu" width="100%">
      <mx:FormItem id="form_Label" label="

      {myLabel}

      " width="100%" required="true" >
      <mx:TextInput id="form_Eposta" width="100%" />
      </mx:FormItem>
      </mx:Form>

      and trying to bind a value in a script block like that :

      [Bindable] private var myLabel : String = "My Label";

      or

      {
      this.form_Label.label = "My Label";
      }

      but these 2 different ways are not working. I MUST set label value in mx:FormItem component. and this makes it to static.
      I am using SDK 3.4.0.9271
      what is the solution ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: