Re: [qooxdoo-devel] Attaching properties after class initialization

2006-06-18 Thread Derrell . Lipman
Christian Boulanger <[EMAIL PROTECTED]> writes: > QxTarget.addProperty did it, that is, it correctly added the properties for > QxTarget. > > However, I wanted to add the properties also for all descendents of QxTarget, > that's why I tried to attach it to QxTarget's prototype, and that doesn't >

Re: [qooxdoo-devel] Attaching properties after class initialization

2006-06-18 Thread Sebastian Werner
Christian Boulanger schrieb: > Here you go: > > http://qooxdoo.org/documentation/developer/modifyobjectpropertiesatruntime > > Edit and correct it if necessary... Thanks! For your further additions please omit the usage of tabs inside code blocks. Use 2 spaces instead. Sebastian > > Christi

Re: [qooxdoo-devel] Attaching properties after class initialization

2006-06-18 Thread Christian Boulanger
Here you go: http://qooxdoo.org/documentation/developer/modifyobjectpropertiesatruntime Edit and correct it if necessary... Christian Sebastian Werner schrieb: > Christian Boulanger schrieb: > >> Once again, I post too early for my own good. Of course, the properties >> are there. I didn't

Re: [qooxdoo-devel] Attaching properties after class initialization

2006-06-18 Thread Sebastian Werner
Christian Boulanger schrieb: > Once again, I post too early for my own good. Of course, the properties > are there. I didn't see that the _modifyFoo methods need to return > "true" in order to work. The error message was, after all not about a > setter not being there, but that the setter "fail

Re: [qooxdoo-devel] Attaching properties after class initialization

2006-06-18 Thread Christian Boulanger
Once again, I post too early for my own good. Of course, the properties are there. I didn't see that the _modifyFoo methods need to return "true" in order to work. The error message was, after all not about a setter not being there, but that the setter "failed without exception". Duh. If there

Re: [qooxdoo-devel] Attaching properties after class initialization

2006-06-18 Thread Christian Boulanger
Hi Derrell, thanks for your quick answer! QxTarget.addProperty did it, that is, it correctly added the properties for QxTarget. However, I wanted to add the properties also for all descendents of QxTarget, that's why I tried to attach it to QxTarget's prototype, and that doesn't work. For exa

Re: [qooxdoo-devel] Attaching properties after class initialization

2006-06-17 Thread Derrell . Lipman
Christian Boulanger <[EMAIL PROTECTED]> writes: > Hi, > > I want to extend QxTarget's property list directly (instead of creating > an extended class), but the function > addProperty are not available in QxTarget's prototype object. How & > where can I access it? Both extend() and addProperty()

[qooxdoo-devel] Attaching properties after class initialization

2006-06-17 Thread Christian Boulanger
Hi, I want to extend QxTarget's property list directly (instead of creating an extended class), but the function addProperty are not available in QxTarget's prototype object. How & where can I access it? Thanks, Christian ___ Qooxdoo-devel mailing