public abstract class AbstractAccount {
protected String id;
protected String fullName;
protected VCardInfo vcard = new VCardInfo();
...
}
public class Contact extends AbstractAccount implements Serializable {
private static final long serialVersionUID = 1L;
private String firstName;
private String lastName;
private String organization;
private String jobRole;
private String department;
...
}
In Contact editor i have defined
@Path("vcard.workAddress")
@UiField VCardAddressEditor address;
Now if Contact class does not extend AbstractAccount and just contains fields visible in AbstractAccount - then everything works.
But if I try to acces (via editor) fields declared in abstract class (e.g. vcard) than it does not work.
I would like to know if this is a bug - or i'm doing it wrong - or this just can not be implemented using editors (reflection problems etc.?)