On Apr 26, 1:08 am, Thomas Broyer <[email protected]> wrote:
> What's validated is the Product object. When Product#findProduct loads the
> product, does it also load the Group list?
Group is loaded. Double, if you add following lines
ProductMarginRequest request =
requestFactory.productMarginRequest();
margin = request.create(ProductMarginProxy.class);
margin.setProxy(product);
GWT.log(margin.getProduct().getVendorId)); //some id logged
GWT.log(margin.getProduct().getGroup().getId)); //some id
logged
request.persist(margin).fire(new
Receiver<Void>() {
@Override
public void onSuccess(Void response) {
Window.alert("success!");
}
});
regards,
Marcin
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
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.