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

Binding support for group attribute

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.6
    • 2.0.6
    • Swing
    • None

    Description

      Binding classes do not support the "group" attribute. Here's the relevant code (using Griffon):

      bindGroup(id: 'formElements')
      textField(text: bind(target: model.currentRecord, 'count',
      value: '0',
      id: 'countBinding',
      group: formElements))

      When run, produces "No such property: group for class: groovy.swing.binding.JTextComponentTextBinding". From Andres Almiray of Griffon:

      "The problem appears to be in BindFactory.groovy:321, where the group: attribute is set on the binding instance, which may or may nor support he property (in this case it does not). this is certainly a bug in BindFactory ..."

      Attachments

        Activity

          People

            aalmiray Andres Almiray
            zoerb Ryan Zoerb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: