On Friday, June 1, 2012 10:51:00 AM UTC+2, Thomas Broyer wrote:
Is X an EntityProxy or a ValueProxy? If it's a ValueProxy, then this is the expected behavior; you'll have to either:
- allow 'null' in your setter (you could treat it as a Boolean.FALSE if you like)
- set the property value to Boolean.FALSE on the client-side
- change your property type from 'Boolean' to 'boolean': there's little to no reason to use 'Boolean' if you disallow 'null', just use 'boolean' instead.
I forgot to mention: if you don't care about the property on the client-side at all, then you're not forced to map it into your proxy either; that'd solve the problem too.
-- 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/-/sTDFhB5Q0fcJ.
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