Re: [qooxdoo-devel] best way to define constants within qooxdoo

2008-08-06 Thread Hugh Gibson
> It is also advised that you make your constants all upper case. By > doing this it reminds you, hopefully stopping you accidently > changing one (remember these aren't truely constant) and it also > let's the api viewer know it's a constant. Good old Microsoft conventions :-) Actually, the e

Re: [qooxdoo-devel] application locking up

2008-08-06 Thread Hugh Gibson
> *Firefox locks up and does one of those "Unresponsive Script" > warnings after a few seconds. This could be a Firebug problem. See http://code.google.com/p/fbug/issues/detail?id=892 Make sure you are using Firebug 1.2b07 or later. Hugh

Re: [qooxdoo-devel] application locking up

2008-08-06 Thread Ian Monroe
On Wed, Aug 6, 2008 at 7:50 PM, Derrell Lipman <[EMAIL PROTECTED]> wrote: > I believe you're hitting a generator problem. The generator doesn't pull in > the log appender class automatically right now. (I posted a bug about this > a day or two ago.) To get the appender to load you just need to r

Re: [qooxdoo-devel] application locking up

2008-08-06 Thread Derrell Lipman
On Wed, Aug 6, 2008 at 3:56 PM, Ian Monroe <[EMAIL PROTECTED]> wrote: > I'm porting the start of my little app to 0.8-beta1, on the suggestion > of this list to take advantage of the new layouting system. > > Problems: > *this.debug() no longer works, it used to put messages in the Firebug > conso

Re: [qooxdoo-devel] best way to define constants within qooxdoo

2008-08-06 Thread Kanugula
If I define a static variable like this (especially for Arrays), statics : { TABLE_COLUMN_ARRAY : ["C1","C2","C3"] } This TABLE_COLUMN_ARRAY is passed to qx.ui.table.model.Remote.setColumns(). Is there a possibility for memory leak clearing the above array? I don't know how Qooxdoo cleans th

Re: [qooxdoo-devel] Events

2008-08-06 Thread Ian Monroe
On Wed, Aug 6, 2008 at 2:49 PM, Guilherme Aiolfi <[EMAIL PROTECTED]> wrote: > Hi List, > > I'm trying to get the TreeFolder that was double clicked: > > var node = new qx.ui.tree.TreeFolder ("first"); > node.setUserData({a: 'b', c: 'd'}); > treeView.getRoot().add(node); > node.addListener("dblclick

Re: [qooxdoo-devel] Events

2008-08-06 Thread Guilherme Aiolfi
ops, now I saw that setUserData has 2 args sorry for that :$ but can I get the Tree Item using the "dblclick" event in the Tree? 2008/8/6 Guilherme Aiolfi <[EMAIL PROTECTED]> > Hi List, > > I'm trying to get the TreeFolder that was double clicked: > > var node = new qx.ui.tree.TreeFolder ("first

[qooxdoo-devel] application locking up

2008-08-06 Thread Ian Monroe
I'm porting the start of my little app to 0.8-beta1, on the suggestion of this list to take advantage of the new layouting system. Problems: *this.debug() no longer works, it used to put messages in the Firebug console. I know the code has been executed because Firebug does show a couple of reques

[qooxdoo-devel] Events

2008-08-06 Thread Guilherme Aiolfi
Hi List, I'm trying to get the TreeFolder that was double clicked: var node = new qx.ui.tree.TreeFolder ("first"); node.setUserData({a: 'b', c: 'd'}); treeView.getRoot().add(node); node.addListener("dblclick", this._onTreeDblClick); ... _onTreeDblClick: function(e) { console.log (thi

Re: [qooxdoo-devel] best way to define constants within qooxdoo

2008-08-06 Thread Matthew Gregory
Hi, It is also advised that you make your constants all upper case. By doing this it reminds you, hopefully stopping you accidently changing one (remember these aren't truely constant) and it also let's the api viewer know it's a constant. Matt Kanugula wrote: > Thanks Hugh. > > I was not awa

Re: [qooxdoo-devel] best way to define constants within qooxdoo

2008-08-06 Thread Kanugula
Thanks Hugh. I was not aware of this. I defined all my constants as properties and used getXXX(). Time to replace my code. Thanks. Kanugula. Hugh Gibson wrote: > >> How do you think I can best define my constants? > > Use the "statics" keyword in a class definition. > > We also define clas

Re: [qooxdoo-devel] best way to define constants within qooxdoo

2008-08-06 Thread Hugh Gibson
> How do you think I can best define my constants? Use the "statics" keyword in a class definition. We also define class objects just for constants, like this one: qx.Class.define("abling.constants.CConference", { /*