[qooxdoo-devel] Open/closed folders

2009-03-17 Thread turicum
Dear Qooxdooxers, I modified the demo "JsonToTree" to customize the icons of the tree, so that the documents in the folders would not all look like folders. To do that, I used to the code employed in the "JsonToList" example, assigned each item of the list a "type", which links to an icon. So far

Re: [qooxdoo-devel] cross-domain qx.data.store.Json

2009-03-17 Thread turicum
tried a simple request to that url using the qx.io.remote.Request > without the data store? Depending on your task, the > qx.io2.ScriptLoader could be a possible solution. Just take a look at > the demos i build a separate store for (flickr, twitter and gears). > > Regards, > Martin &

Re: [qooxdoo-devel] cross-domain qx.data.store.Json

2009-03-16 Thread turicum
I went through the API doc, but I could not find anything. I then edited the qx.data.store.Json class definition by adding this.__request.setCrossDomain(true) to the _createRequest() function, but this line makes the call hang. any idea? thron7-2 wrote: > > > > turicum wr

[qooxdoo-devel] cross-domain qx.data.store.Json

2009-03-16 Thread turicum
Dear Qooxdooxers, is there a way to set the crossDomain property of the qx.io.remote.Request object used by qx.data.store.Json(url)? Thanks! Alessandro -- View this message in context: http://www.nabble.com/cross-domain-qx.data.store.Json-tp22541430p22541430.html Sent from the qooxdoo-devel ma

[qooxdoo-devel] chart image reload (Python/Matplotlib)

2009-03-01 Thread turicum
Dear Qooxdooxers, I'm generating charts with a WSGI python-based server. The image is located at fixed URL (eg, http://my.com/chart), which is mapped to a python function. Qooxdoo loads it correctly the first time I invoke chart = new qx.ui.basic.Image("http://my.com/chart";). So far so good.

Re: [qooxdoo-devel] PNG images via RPC

2009-02-27 Thread turicum
Hi Roman, then I guess the only way is to add a python WSGI application that serves the image. I'll have to pass additional arguments in the query string instead of using the RPC parameters. Thanks a lot! Alessandro Roman Schmid-2 wrote: > > Hi Alessandro > > As far as i know there's no wa

Re: [qooxdoo-devel] PNG images via RPC

2009-02-27 Thread turicum
u try to load the PNG using the ImageLoader? > http://demo.qooxdoo.org/0.8.x/apiviewer/#qx.io2.ImageLoader > > It won't be an RPC call, but i guess you could make the function that > generates the image acessible through a "normal" url? > > Best - Roman > > turi

[qooxdoo-devel] PNG images via RPC

2009-02-27 Thread turicum
Dear Qooxdooxers, I need some help with placing a chart in qooxdoo: I generate images on the server side (python + matplotlib) and get them via JSON-RPC, so that, on the client side, I have a variable with the a raw PNG string (starting with �PNG and followed by plenty of non-printable stuff). H