On Wednesday, October 12, 2011 10:25:27 AM UTC+2, David Sanders wrote:
>
> I'm having a very similar issue where my new bars are not being persisted 
> on the server.  When I examine the list from within its setter on the 
> server, I can see that the new bar objects are in the list but the fields 
> are all null, even though I set them explicitly on the client.  Is there 
> something that I'm missing here?
>

Yes, your looking at the list at the wrong time. Look at it from your 
persist() (or whatever it's called) method.
 

>
> BTW, when I try to debug RF with the dumpPayload flag it shows the payload 
> but in an unreadable format - is there a way to set it to become readable?
>

It's JSON, so you can easily pretty-print it (or you can look at it from 
your browser's developer tools, most of which show JSON in treeviews). At 
the top-level, "O" stands for operation (setters to be called on domain 
objects) and "I" for invocations (service method calls). Within "O" you'll 
find a list of proxies, with "P" being their properties being set. 
Everything is obfuscated though; you'll find the mapping either in the 
DeobfuscatorBuilder that the annotation processor (wherever you told it to 
output the source –defaults to .apt_generated in Eclipse for instance–), or 
in the RF implementation generated by the GWT compilation (in the -gen 
folder –yes, you have to recompile, or re-run DevMode, with the -gen 
option–).

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