Andreas,
In my experience, including your json files within your index.html is a
sound practice. I do something similar in an application of mine where I
have the CMS create javascript variables and include them in script tags in
the resulting html (
Hello Andreas,
it depends oh how you plan to load the data. If you have a file on your file
system ,you need to load it some way. The JSON store uses io.request for
that but if you want to have some other type of loading mechanism, you can
either subclass the store or get the data somehow to a Ja
Hi Andreas,
I am not sure if it is the best way, but you can always include your js file
with data object (e.g. var myDataObject = { ... };), inside index.html and
in qooxdoo call - qx.data.marshal.Json.createModel(myDataObject);
Hope it helps,
Luke
Andreas G. wrote:
>
>
> hello guys!
>
> i
hello guys!
is there a way to create model-data of local json files besides using
qx.data.store.Json? i dont want to do io-requests for local stuff. :)
qx.data.marshal.Json.createModel() needs a data-object to create model-data
from, i would like to convert my json-files to data-objects and the