Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3503

Bi-directional binding does not work with synthetic or event triggered bindings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.2, 1.7-beta-1
    • 1.6.3, 1.7-beta-1
    • Swing
    • None

    Description

      Bi-direcitonal binding via the mutual: attribute only works for simple properties. Binding to synthetic properties (such as JTextField.text) or to event triggered sources do not work.

      This should work (assuming model has a bindable 'userInput' property)

      textField(text:bind(source:model, 'userInput', mutual:true))
      

      Attachments

        Activity

          People

            shemnon Daniel Ferrin
            shemnon Daniel Ferrin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: