You have to use the property name of the entity proxy. So in your case .with("lineItems"). If you need more than one property you can just add it to the parameter list, e.g. .with("lineItems", "otherPropertyName"). You can also go down the hierarchy with a dot notation. Imagine your InvoiceDetailsProxy contains a property "A" (which is an entity proxy) and you also want that property to be not null, you would add it to the with method like: .with("lineItems", "lineItems.a"). Your other properties are already filled because they are primitive types ( = no entity proxy). Only properties that are entity proxies or lists of entity proxies are null when you do not add these properties to the .with() method.
If you use the Editor Framework from GWT there is also a getPaths() method on the editor driver which returns an array of strings with all the property names the editor needs to be loaded. So you would do .with(editorDriver.getPaths()). -- J. -- 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/-/VNpGYGRUdFkJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.