Hi

We are developing webapp with lots of forms and complex model. To make it 
faster we decided to use gwt editors. We use nested editors in few places. 
We run into troubleafter refactoring model and making few classes extend 
common abstract class. The editor does not seem to see the fields that are 
declared in abstract class. To make it more specyfic:

the model:

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.?)


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/G7j8k7XfTmgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to