Re: [qooxdoo-devel] Progress indicating the status of javascript library

2010-05-12 Thread uglyhunK
Jonathan, Thanks for the input. ---code #status { position:absolute; top: 50%; left: 50%; width:100px; height:100px; margin-top: -50px; margin-left: -50px; } ajax-loader.gif ---end code--- The above code seems t

[qooxdoo-devel] Progress indicating the status of javascript library

2010-05-12 Thread uglyhunK
Hi, I just deployed a small application but, as expected, there is pause of about 12 secs for the initial page to appear. It is obvious that the culprit here is javascript resource. I expected the webserver to compress (gzip) the file but that did not happen. I will look into that. But still I pr

Re: [qooxdoo-devel] ajax request problem

2010-05-10 Thread uglyhunK
Yes, it is working. I totally ignored that asynchronous principle. :-) Thank you Cheers -- View this message in context: http://qooxdoo.678.n2.nabble.com/ajax-request-problem-tp5022288p5034247.html Sent from the qooxdoo mailing list archive at Nabble.com. -

Re: [qooxdoo-devel] ajax request problem

2010-05-10 Thread uglyhunK
eted", function(e){ > var jsonObj = e.getContent(); > var jsonModel = qx.data.marshal.Json.createModel(jsonObj, true); >controller.setModel(jsonModel); > }); > > req.send(); > > > Cheers, > Chris > > Am 10.05.2010 15:19, schrieb uglyhunK: > > > Hi Chris, > &g

Re: [qooxdoo-devel] ajax request problem

2010-05-10 Thread uglyhunK
Hi Chris, Thanks for that. But I'm actually looking NOT to use json store. I'm looking to - fetch json data using ajax request from the server then - use json marshal to create model - create a controller and bind model and the UI. I managed to do the first step. But things are not looking good

Re: [qooxdoo-devel] qx.io.remote.Response object not working

2010-05-09 Thread uglyhunK
When debugged with the following code, it displays the actual json content. But when I alert with e.getConent() it shows [object Object]. alert(qx.dev.Debug.debugObjectToString(e.getContent())); -- View this message in context: http://qooxdoo.678.n2.nabble.com/qx-io-remote-Response-object-no

Re: [qooxdoo-devel] qx.io.remote.Response object not working

2010-05-09 Thread uglyhunK
Derrel, Please find the json file here http://n2.nabble.com/file/n5028735/source.txt source.txt . I get the following results - [object Object] when used e.getContent() - undefined when used e.content - [object Object] null when used e.getResponseHeaders() Cheers -- View this message in con

[qooxdoo-devel] qx.io.remote.Response object not working

2010-05-09 Thread uglyhunK
Hi, Following is the simple Ajax code, for some reason, is not working. I'm getting the response from the server but qx.io.remote.Response object's properties/methods do not seem to work. Any help would be well appreciated var req = new qx.io.remote.Request("/json/source.txt", "GET", "applicat

Re: [qooxdoo-devel] ajax request problem

2010-05-08 Thread uglyhunK
On 5/8/2010 8:38 AM, uglyhunK wrote: > Hi, > > This is what I was set out to do. But stuck in the first step itself. > > - send a HTTP GET request to yahoo search api request using > "qx.io.remote.Request" > - marshal json response into a model using "qx.data.m

[qooxdoo-devel] ajax request problem

2010-05-07 Thread uglyhunK
Hi, This is what I was set out to do. But stuck in the first step itself. - send a HTTP GET request to yahoo search api request using "qx.io.remote.Request" - marshal json response into a model using "qx.data.marshal.Json" - create a controller and bind the model to UI widget Twitter tutorial d