Hello, I'm working with a "local" Offline store (qx.data.store.Offline). My
understanding of the local store (as compared to the session store) is that the
items in the store are persisted and reloaded with each new session. My local
store is working properly within a given session but the store, though
reloading a model, appears to be empty with each new session - (in chrome 36).
Below are code snippets for how it is being created and used. What could be
going wrong??
var store = new qx.data.store.Offline(key, "local");
if(this.getModel()==null){
var model = qx.data.marshal.Json.createModel({}, true);
this.setModel(model);
}
//setting values:
store.getModel()[key] = value;
//accessing values
var value = store.getModel()[key];
Thank you,
--
Brian Kamery
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel