Hi,

My app is using overlay types with JSON received from server. In the
view I'm pushing the list of overlay types into a cell table:

public class JsTask extends JavaScriptObject {}

taskTable = new CellTable<JsTask>();
taskTable.setRowData(0, tasks);

For my surprise I have found that the widget is adding an extra
property to the JavaScriptObject containing it's row index in the
table. So, my overlay type that looked like this:

{"_id":"4039344d00005fd600000017", "title":"Nuevo titulillo",
"version":0}

Now looks:

{"_id":"4039344d00005fd600000017", "title":"Nuevo titulillo",
"version":0, "$H":6}

I don't think this is a nice behaviour. In my particular case the
overlay is a domain object so it should not have unexpected
properties.

Is this behaviour documented somewhere? What do you think is the best
way to solve this issue? Am I forced to "clone" all my domain objects
before using them in my views?

Many thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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