Friday, October 26, 2012

Re: Editing a ValueProxy on an EntityProxy

Hi there RyanD!

Did you find a solution to this problem?
I am in a similar predicament.. I also try to persist a large string on a EntityProxy (not using a valueproxy though) and I also get only null values on the server side when the persist method is called..

Best regards!

On Sunday, January 23, 2011 11:59:35 PM UTC+1, RyanD wrote:
OK, I tried that.  Unfortunately it produces the same payload as the
other examples.

Interesting:

I tried not setting any properties on the File object whatsoever.

Simply:

File file = req.edit(existingFile);
req.persist().using(file).fire(...);

And this also produces the same payload as all of our "setData"
examples.

So it appears that from GWT's standpoint, all of our approaches have
been no-op's.

Ryan


On Jan 23, 2:49 pm, Y2i <yur...@gmail.com> wrote:
> It might not help, but may be you can try this code?
>
> File file = req.edit(existingFile);
> FileData data = file.getData();
> data.setTextData("something");
> file.setData(data);
> req.persist().using(file).fire(...);

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate