Details
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 ..."
Activity
Andres Almiray
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Andres Almiray [ aalmiray ] |
Cedric Champeau
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 2.0.6 [ 18852 ] | |
| Resolution | Fixed [ 1 ] |
Paul King
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Pull request @ https://github.com/groovy/groovy-core/pull/79