Label and Vaadin 8

Was wondering why Label cannot bind to a data bean the way other components can. I’m using a lot of @Push to update Labels in real-time. I have been making changes to adapt to the Vaadin 8 data model by creating data beans for those components, but replacing the Labels with read-only TextFields is not a good option.

Here’s this excellent example of how Label data binding can be accomplished (thank you Elmot):

So why couldn’t something like that be rolled into the API?


Thanks for the feedback. I will do an addon with that when I have time.

There’s also ticket about this in the issue tracker: