Wednesday, October 26, 2016

Unchanged transient field received as null on server using RequestFactory - how to force to send?

Assuming an EntityProxy here, if the field is left unchanged, then it's not sent to the server. On the server side, the entity is loaded by the Locator and then the diff is applied. So if the Locator gets a null field, it'll be left null.
You may have to use a ValueProxy here…

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment