In Vaadin 7, I am creating a simple form to edit a JavaBean following this example https://vaadin.com/wiki/-/wiki/Main/Creating%20a%20form%20using%20an%20existing%20layout
However, using the “@PropertyId” annotation, how can I access a property of my bean which is not a primitive ? Something like
public class MyBean {
private MyStatus status;
//getters/setters
}
public class MyStatus{
private String statusName;
//getters/setters
}
I would like to be able to access the property using something like @PropertyId(“status.statusName”) but this does not work…
Thanks for the help!
Possibly a bit late, however, you may be best using
BeanFieldGrouprather than justFieldGroup: