Skip to content

Databinding common mistakes

Matt Clarke edited this page Oct 10, 2016 · 12 revisions

Start with An introduction to databinding if you are new to this.

Incorrectly cased string in binding

With something like the following it is import that the name of the property to bind to is cased correctly:

ctx.bindValue(WidgetProperties.text(SWT.Modify)
            .observe(txtAge), BeanProperties.value("age").observe(person));```
Clone this wiki locally