Re: [qooxdoo-devel] Global Object , How?

2012-02-23 Thread Phyo Arkar
Singleton doing good job for me :) On 2/16/12, omrihar wrote: > Hi, > > I don't know if that is what you mean, > but I sometimes use window.global_var > to have global_var as a global variable > across the application. Other times I > use a singleton. > > Cheers, > Omri > > -- > View this message

Re: [qooxdoo-devel] Anyone getting "unresponsive script" errors in Qooxdoo 1.6 in IE 8 or FireFox 10.0.2 on Windows 7 Professional 32bit?

2012-02-23 Thread Robert Nimax
Hi, you could have a look to this issue: http://qooxdoo.678.n2.nabble.com/qooxdoo-your-script-is-running-too-slowly-td5733059.html#a5733211 Additionally you should profile your application (e.g. using the built-in profiling module in firebug) so you are able to find code snippets that take too mu

[qooxdoo-devel] Anyone getting "unresponsive script" errors in Qooxdoo 1.6 in IE 8 or FireFox 10.0.2 on Windows 7 Professional 32bit?

2012-02-23 Thread Scott Chapman
I have a serious problem here. I thought this was all very nicely cross-browser but it appears that something is wrong. App runs fine on FF 10.0.2 on Windows XP Home and on Linux Ubuntu. It's having serious problems on Windows 7 Pro with FireFox 10.0.2 and Win XP Home with IE 8. Any clues on how

Re: [qooxdoo-devel] How to use Qooxdoo's Stores to request an ajax response with a POST?

2012-02-23 Thread Roman Schnider
You need to implement the qx.data.store.IStoreDelegate to configure your request and pass it to the Json constructor. Like this: var delegate = { configureRequest : function(request) { request.set({ "method" : "POST", "requestData" : { "ser

Re: [qooxdoo-devel] How to obtain a Widget Object outside the scope it was created in

2012-02-23 Thread Jim Hunter
Easy, to change the content of the control, I send something like: my-custom-id.setValue(newValue); Granted, I do an EVAL on the client side and many people hate this, but for me it works fine. And with the speed of todays computers, it executes very quickly even with large blocks of code. Jim

Re: [qooxdoo-devel] How to obtain a Widget Object outside the scope it was created in

2012-02-23 Thread Chris Bunn
Jim I think I am understanding why your server returns javascript. If the server app wants to update a field what type of code snippet does it pass to the client? I was approaching this with the intention of passing a json object to the client that would pass the parameters required to modify the

[qooxdoo-devel] How to use Qooxdoo's Stores to request an ajax response with a POST?

2012-02-23 Thread totty
In the tutorial http://manual.qooxdoo.org/1.6.x/pages/tutorials/tutorial-part-3.html they only show this: var url = "http://api.twitter.com/1/statuses/public_timeline.json";; this.__store = new qx.data.store.Jsonp(url, null, "callback"); But I would need to communicate with my own server,

Re: [qooxdoo-devel] remove Listener`?

2012-02-23 Thread Derrell Lipman
On Thu, Feb 23, 2012 at 07:44, smisonli...@googlemail.com < smisonli...@googlemail.com> wrote: > Hello, > > i try this > > > this.listeners["changeValue"] = > this.widgets["datum"].addListener("changeValue", function(e) { > this.loadTimelist(); >

Re: [qooxdoo-devel] remove Listener`?

2012-02-23 Thread smisonli...@googlemail.com
Hello, i try this this.listeners["changeValue"] = this.widgets["datum"].addListener("changeValue", function(e) { this.loadTimelist(); },this); this.listeners["SHOPID"] = this.widgets["SHOPID"].addListener("changeSel

Re: [qooxdoo-devel] remove Listener`?

2012-02-23 Thread Fritz Zaucker
http://demo.qooxdoo.org/1.6.x/apiviewer/#qx.core.MEvents~addListener Look at "Returns:" Cheers, Fritz On Thu, 23 Feb 2012, smisonli...@googlemail.com wrote: > hello, > > what ist the id of the listener? > >> Hi, >> >> the function you add as listener is not the function you give when removing

Re: [qooxdoo-devel] remove Listener`?

2012-02-23 Thread Marc Puts
On 02/23/2012 01:11 PM, smisonli...@googlemail.com wrote: > what ist the id of the listener? The listener id is returned by the addListener function. var listenerId = this.widgets["datum"].addListener("changeValue", this.loadShopData, this); this.widgets["datum"].removeListenerBy Id(listenerId

Re: [qooxdoo-devel] remove Listener`?

2012-02-23 Thread smisonli...@googlemail.com
hello, what ist the id of the listener? > Hi, > > the function you add as listener is not the function you give when removing > the listener. In fact, you pass an anonymous function to addListener. > > Try: > > this.widgets["datum"].addListener("changeValue", this.loadShopData, this); > this.wid

Re: [qooxdoo-devel] remove Listener`?

2012-02-23 Thread Tristan Koch
Hi, the function you add as listener is not the function you give when removing the listener. In fact, you pass an anonymous function to addListener. Try: this.widgets["datum"].addListener("changeValue", this.loadShopData, this); this.widgets["datum"].removeListener("changeValue", this.loadShop

[qooxdoo-devel] remove Listener`?

2012-02-23 Thread smisonli...@googlemail.com
Hello, i add some listeners like this this.widgets["datum"].addListener("changeValue", function(e) { this.loadShopData(); },this); this.widgets["SHOPID"].addListener("changeSelection", function(e) {

[qooxdoo-devel] remove Listener`?

2012-02-23 Thread smisonli...@googlemail.com
Hello, i add some listeners like this this.widgets["datum"].addListener("changeValue", function(e) { this.loadShopData(); },this); this.widgets["SHOPID"].addListener("changeSelection", function(e) {