VaadinValueWidget(W component, Type<T> type, T proplValue) { super(component); @SuppressWarnings("unchecked") ObjectProperty<T> property = (ObjectProperty<T>) component.getPropertyDataSource(); if (property == null) { property = new ObjectProperty<T>(proplValue, type.cast()); component.setPropertyDataSource(property); } value = new PropertyValue<>(property, type); }