Thanks for your reply Ryan.

In my case Foo is just a top of a complicated object graph and yes I want to 
set the default values, I also want to be able to do calculation on Foo with 
out persisting it. I guess I could implement it on the client side but that 
is a lot of work and I am not sure it will pay off.

Any way, returning null in Locator.getId() if the object is't persisted 
seems to do the trick.

Jakob

-- 
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/-/HlhGM3Px808J.
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