> 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment