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
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
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
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
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
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
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,
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();
>
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
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
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
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
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
Hello,
i add some listeners like this
this.widgets["datum"].addListener("changeValue",
function(e) {
this.loadShopData();
},this);
this.widgets["SHOPID"].addListener("changeSelection",
function(e) {
Hello,
i add some listeners like this
this.widgets["datum"].addListener("changeValue",
function(e) {
this.loadShopData();
},this);
this.widgets["SHOPID"].addListener("changeSelection",
function(e) {
15 matches
Mail list logo