Binder with nested field


is there a simple way in Vaadin 8 to bind nested properties and take full advantage of JSR-303?

public class MyObject {
private String field;
private MyOtherObject other = new MyOtherObject();


public class MyOtherObject {

@Size(min = 1)
private String field;


Binder binder = new Binder<>(MyObject.class);

binder.bind(textField1, “field”);

// java.lang.IllegalArgumentException: Could not resolve property name… :
binder.bind(textField2, “other.field”);
[/code]I could do this but without automatic bean validation:

binder.bind(textField2, obj -> obj.getOther().getField(), (obj,value) -> obj.getOther().setField(value));