Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><a href="http://code.google.com/webtoolkit/doc/latest/DevGuideHtml5Storage.html#Overview" rel="nofollow">GWT Docs</a> have this to say:</p> <blockquote> <p><strong>Local Storage is String Storage</strong></p> <p>HTML5 local storage saves data in string form as key-value pairs. If the data you wish to save is not string data, you are responsible for conversion to and from string when using LocalStorage. For proxy classes used with the GWT RequestFactory, you can use RequestFactory#getSerializer() to do string serializing. For non-proxy objects, you could use JSON stringify and parse.</p> </blockquote> <hr> <p><strong>EDIT:</strong></p> <p><a href="http://google-web-toolkit.googlecode.com/svn/javadoc/2.2/com/google/gwt/requestfactory/shared/RequestFactory.html#getSerializer%28com.google.gwt.requestfactory.shared.ProxyStore%29" rel="nofollow"><code>RequestFactory#getSerializer()</code></a> returns an implementation of <a href="http://google-web-toolkit.googlecode.com/svn/javadoc/2.2/com/google/gwt/requestfactory/shared/ProxySerializer.html" rel="nofollow"><code>ProxySerializer</code></a>. But</p> <blockquote> <p>ProxySerializer Serializes graphs of EntityProxy objects. A ProxySerializer is associated with an instance of a ProxyStore when it is created via RequestFactory.getSerializer(ProxyStore).</p> </blockquote> <p>So you cannot use it to serialize arbitrary objects. Only <code>EntityProxy</code> objects can be serialized this way. GWT documentation does not mention any method for doing such serialization for non-<code>EntityProxy</code> objects, so I think it is safe to assume that there is no ready-made solution for doing this so far. For non-<code>EntityProxy</code> objects, GWT docs (quoted above) recommend using JSON serialization.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload