Hi all, I have the same setup as in question https://groups.google.com/d/msg/google-web-toolkit/GUQjZ98mL7s/MoA2gEMmS28J . I've included the relevant code from the question below for quick reference. My problem is that once the booking entity gets to the server and I look for the user, the user field is not null, but the id on the user is? Thus I can't check for the actual user. Is the user id not being set in the payload for some reason, or is it not building the user entity correctly on the server? Thanks a lot in advance for any help, much appreciated.
-Seth MainRequestFactory.BookingRequest bookingRequest = reqFactory.bookingRequest(); BookingProxy bookingProxy = bookingRequest.create(BookingProxy.class); UserProxy userProxy = bookingRequest.create(UserProxy.class); userProxy.setId(12); bookingProxy.setUser(userProxy); Request<Void> persistRequest = bookingRequest.persist().using(bookingProxy); persistRequest.fire(new Receiver<Void>() { @Override public void onSuccess(Void response) { GWT.log("persisted"); } }); -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.