Example of how to bind a datasource attribute to a custom widget