Re: [qooxdoo-devel] QxCommand again ...

2006-02-27 Thread Sebastian Werner
yes, qooxdoo dispose all objects onunload of the page. qooxdoo does automatically, inside QxObject, removes all object references which are stored inside the properties. This is also true for QxEventManager, which stores all these QxCommand instances. The only problem is, that you are not able

Re: [qooxdoo-devel] QxCommand again ...

2006-02-27 Thread Ulrich Schreiner
hi, perhaps i don't get it, but i don't dispose anything :-). the "dispose" from QxCommand was called by ...? qooxdoo? my problem is (was) that the "dispose" was called by qooxdoo (i think) and after this, when i pressed a key, the "_matchesKeyEvent" from this instance was called again. -->

Re: [qooxdoo-devel] QxCommand again ...

2006-02-27 Thread Sebastian Werner
Hi! I've removed this _ownerWindow completely. You don't need to dispose properties (using addProperty) in qooxdoo. This will be automatically handled by qooxdoo. Sebastian Ulrich Schreiner schrieb: hi, first of all: my fix a few days ago was buggy, sorry for this. in the construtor i in

[qooxdoo-devel] QxCommand again ...

2006-02-27 Thread Ulrich Schreiner
hi, first of all: my fix a few days ago was buggy, sorry for this. in the construtor i initialized the "_shortcutParts" at the end. but it is possible that the lines if (QxUtil.isValid(vShortcut)) { this.setShortcut(vShortcut); }; initialized this instancevariable, so my line to set

Re: [qooxdoo-devel] QxCommand outside window.application.main

2006-02-26 Thread Sebastian Werner
You shouldn't use the most widgets/objects outside window.application.main. You can use them afterwards, but not before, also outside this application context. Why do you need this? Sebastian Petr Šimek schrieb: Hi qooxdoo people, when I define my QxCommand (for menu) outside window.applica

[qooxdoo-devel] QxCommand outside window.application.main

2006-02-26 Thread Petr Šimek
Hi qooxdoo people,when I define my QxCommand (for menu) outside window.application.main = function () { }body, then my whole application cannot run and in my FIrefox error console I get Error: window.application.getClientWindow () has no propertiesSource file: http://localhost/phpfbadmin/libs/qooxd

Re: [qooxdoo-devel] QxCommand

2006-02-23 Thread Sebastian Werner
fixed in CVS. Sebastian Ulrich Schreiner schrieb: this one? Sebastian Werner wrote: What's about a patch against the current HEAD? Thanks. Sebastian Ulrich Schreiner schrieb: hi, QxCommand get's a "vShortcut" as it's first parameter. if you set this to "null" or QxConst.CORE_EMPTY then

Re: [qooxdoo-devel] QxCommand

2006-02-23 Thread Ulrich Schreiner
this one? Sebastian Werner wrote: What's about a patch against the current HEAD? Thanks. Sebastian Ulrich Schreiner schrieb: hi, QxCommand get's a "vShortcut" as it's first parameter. if you set this to "null" or QxConst.CORE_EMPTY then the constructor-code if (QxUtil.isValid(vShortcut

Re: [qooxdoo-devel] QxCommand

2006-02-23 Thread Sebastian Werner
What's about a patch against the current HEAD? Thanks. Sebastian Ulrich Schreiner schrieb: hi, QxCommand get's a "vShortcut" as it's first parameter. if you set this to "null" or QxConst.CORE_EMPTY then the constructor-code if (QxUtil.isValid(vShortcut)) { this.setShortcut(vShortcut)

[qooxdoo-devel] QxCommand

2006-02-23 Thread Ulrich Schreiner
hi, QxCommand get's a "vShortcut" as it's first parameter. if you set this to "null" or QxConst.CORE_EMPTY then the constructor-code if (QxUtil.isValid(vShortcut)) { this.setShortcut(vShortcut); }; does not set the shortcut, so the instancevariable "_shortcutParts" is null (or not de