Re: [qooxdoo-devel] Ajax Status Indicator

2008-02-20 Thread Jim Hunter
This is essentially what I do as well. The one key thing to note here is that the transport needs to be set to req.setAsynchronous(true); This will allow other things to happen on the page. When I was not setting it to true, the animated GIFs did not move. It wasn't until I set it to true that the

Re: [qooxdoo-devel] Ajax Status Indicator

2008-02-20 Thread Dirk Wellmann
Hi Kamesh, in my Application.js, direct in the head, before the Class.define I'll create a global Var: var gvPI = null; further on in my Constructor I create my ProcessingIndicator: var doc = qx.ui.core.ClientDocument.getInstance(); // ProcessingIndicator gvPI = new qviad

Re: [qooxdoo-devel] Ajax Status Indicator

2008-02-20 Thread Kamlesh
Hi, Jim Thanks. I will search for the example, but here what I am doing. I am using qx.io.remote.Request compoent to fetch data from the server. I have animated GIF on page using Atom. Whenever I fetch data from server I toggle gif visibility. I think the way I am coding is not correct. If you p

Re: [qooxdoo-devel] Ajax Status Indicator

2008-02-19 Thread Tobias Oetiker
Hi Kamlesh, I am also doing somethink like this in my du2rrd application http://oss.oetiker.ch/du2rrd-demo/ - double click on an entry in the tree to get a graph the source is posted as well if you click on the link in the top lefthandcorner of the app cheers tobi Today Jim Hunter wrote:

Re: [qooxdoo-devel] Ajax Status Indicator

2008-02-19 Thread Jim Hunter
If you are using the qooxdoo transport controls then you can do an animated GIF while the transfer is taking place. I do it right now and it works fine. I even change the icon once I get the response to indicate we are processing the data. If you are doing your own transfer code then you might not

Re: [qooxdoo-devel] Ajax Status Indicator

2008-02-18 Thread Kamlesh
Hi, All I have seens in other javascript frameworks like Ext JS, jquery etc. the ajax status indicator works. What is the fundamental diffrence between these frameworks and qooxdoo. Why it is difficult to run indcator in qooxdoo I tried flash and timeouts to run indicator but was not able to pro

Re: [qooxdoo-devel] Ajax Status Indicator

2006-09-19 Thread Sebastian Werner
Flash is a good option (we use it too). Using timeouts is a bad in my opinion. It will dramatically slow down the whole execution without bringing the guarantee to really constantly show the animation. Cheers, Sebastian P.S. Maybe an item for a FAQ ;) Jim Hunter schrieb: > The only thing th

Re: [qooxdoo-devel] Ajax Status Indicator

2006-09-19 Thread Jim Hunter
The only thing that will continue to 'animate' (at least in IE) while a _javascript_ function is running is a Flash animation since it is controlled by the Flash plugin and not the browser. I spent days trying everything I could to get an icon to animate but without the trick mentioned by Simon it'

Re: [qooxdoo-devel] Ajax Status Indicator

2006-09-19 Thread Simon Bull
Hi Mike,I have read that in the browser's single threaded runtime it is a good idea to make every method invocation via a timeout rather than via a direct method call.  The idea is that in the gaps between invocations, the thread of control briefly returns to the browser - allowing it to carry on w

[qooxdoo-devel] Ajax Status Indicator

2006-09-19 Thread lycovian
There are numerous animated Gifs out on the web that can be displayed while the browser is "doing something". I pull a large record set (about 3000 rows) via an Ajax call and use it to populate a qx.ui.table.Table. I've subclassed the table include an qx.ui.basic.Atom that includes the animated