Form Data Binding

BeanFieldGroup asks the Item for the property type if the item is set, and only checks the declared type of the field directly if the item data source is not yet set.

Thus, the sample code where an item data source set before binding should work, as BeanItem uses Introspector.getBeanInfo(). Note that you can still change the item data source after performing the binding.